diff --git a/src/genobj.c b/src/genobj.c index 8dfcc6a..a4e0e79 100644 --- a/src/genobj.c +++ b/src/genobj.c @@ -482,7 +482,7 @@ int delete_object(obj_rnum rnum) /* oset handling, this location should be temporary */ bool oset_alias(struct obj_data *obj, char * argument) { - static int max_len = 64; + static size_t max_len = 64; int i = GET_OBJ_RNUM(obj); skip_spaces(&argument); @@ -553,7 +553,7 @@ bool oset_apply(struct obj_data *obj, char * argument) bool oset_short_description(struct obj_data *obj, char * argument) { - static int max_len = 64; + static size_t max_len = 64; int i = GET_OBJ_RNUM(obj); skip_spaces(&argument); @@ -571,7 +571,7 @@ bool oset_short_description(struct obj_data *obj, char * argument) bool oset_long_description(struct obj_data *obj, char * argument) { - static int max_len = 128; + static size_t max_len = 128; int i = GET_OBJ_RNUM(obj); skip_spaces(&argument);