fix output of size class offset test
This commit is contained in:
parent
15e5e2d0ac
commit
71d52d981e
7
test/Makefile
Normal file
7
test/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
EXECUTABLES := \
|
||||
offset
|
||||
|
||||
all: $(EXECUTABLES)
|
||||
|
||||
clean:
|
||||
rm -f $(EXECUTABLES)
|
@ -30,7 +30,7 @@ int main(void) {
|
||||
return 1;
|
||||
}
|
||||
if (i != 0) {
|
||||
printf("%zu to %zu: %zd\n", size_classes[i - 1], size, p[i - 1] - p[i]);
|
||||
printf("%zu to %zu: %zd\n", size_classes[i - 1], size, p[i] - p[i - 1]);
|
||||
}
|
||||
printf("%zu to %zu: %zd\n", size, size, q - p[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user