mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 08:09:19 +02:00
Fix signedness warnings
This commit is contained in:
parent
fa2ca99b8a
commit
a78b85fbf2
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue