#ifndef lint
-FILE_RCSID("@(#)$File: softmagic.c,v 1.119 2008/07/19 14:32:21 christos Exp $")
+FILE_RCSID("@(#)$File: softmagic.c,v 1.120 2008/07/28 17:25:21 christos Exp $")
#endif /* lint */
private int match(struct magic_set *, struct magic *, uint32_t,
file_magerror(ms, "invalid m->type (%d) in mprint()", m->type);
return -1;
}
- return(t);
+ return (int32_t)t;
}
/* check for pointer overflow */
if (src < s) {
- file_magerror(ms, "invalid offset %zu in mcopy()",
+ file_magerror(ms, "invalid offset %u in mcopy()",
offset);
return -1;
}