Am 18.12.2013 14:10, schrieb Karsten Blees:
> + printf("sizeof(pointer+int) (%u) is not a "
> + "multiple of sizeof(pointer) (%u)!\n",
> + sizeof(struct pointer_int),
> + sizeof(void *));
Should be:
- sizeof(struct pointer_int),
- sizeof(void *));
+ (unsigned) sizeof(struct pointer_int),
+ (unsigned) sizeof(void *));
(sizeof() is 'unsigned int' on 32-bit and 'long unsigned int' on 64-bit;
without the cast, "%u" produces warnings on 64-bit and "%lu" on 32-bit...)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html