Fix signedness warnings

This commit is contained in:
Erik Ekman 2007-01-28 13:05:16 +00:00
parent fa2ca99b8a
commit a78b85fbf2

View file

@ -49,7 +49,7 @@ START_TEST(test_read_putshort)
i, ntohs(k), i)); i, ntohs(k), i));
p = (char*)&k; p = (char*)&k;
readshort(NULL, &p, &l); readshort(NULL, &p, (short *) &l);
fail_unless(l == i, fail_unless(l == i,
va_str("Bad value on readshort for %d: %d != %d", va_str("Bad value on readshort for %d: %d != %d",
i, l, i)); i, l, i));