mirror of
https://github.com/yarrick/iodine.git
synced 2025-08-15 07:17:45 +00:00
Fix signedness warnings
This commit is contained in:
@@ -49,7 +49,7 @@ START_TEST(test_read_putshort)
|
||||
i, ntohs(k), i));
|
||||
|
||||
p = (char*)&k;
|
||||
readshort(NULL, &p, &l);
|
||||
readshort(NULL, &p, (short *) &l);
|
||||
fail_unless(l == i,
|
||||
va_str("Bad value on readshort for %d: %d != %d",
|
||||
i, l, i));
|
||||
|
Reference in New Issue
Block a user