Peter Oberndorfer a e'crit :
if (info->sign) { - memset (buf, 0x00, len << info->shift); + memset (buf, len << info->shift, 0x00); } else { if (info->bits == 8) { - memset (buf, 0x80, len << info->shift); + memset (buf, len << info->shift, 0x80); } This part looks wrong (swapped parameters)
Hello, No, this is correct: #include <string.h> void *memset(void *s, int c, size_t n); Best regards. _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel