Restore consistency here.

This commit is contained in:
Alcaro 2015-02-15 23:25:17 +01:00
parent ddef69e9b5
commit acb6d6b0f3

View File

@ -35,7 +35,7 @@ static void nbio_read_test(void)
size_t size, prog; size_t size, prog;
bool looped = false; bool looped = false;
struct nbio_t* read = nbio_open("test.bin", NBIO_READ); struct nbio_t* read = nbio_open("test.bin", NBIO_READ);
void *ptr = nbio_get_ptr(read, &size); void* ptr = nbio_get_ptr(read, &size);
if (size != 1024*1024) if (size != 1024*1024)
puts("ERROR: wrong size (2)"); puts("ERROR: wrong size (2)");