fix test/salloc_align.c
This commit is contained in:
+3
-3
@@ -5,8 +5,8 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include "ucore/ucore_utils.h"
|
||||
#include "../src/ucore_salloc.c"
|
||||
#include "ucore/utils.h"
|
||||
#include "../src/salloc.c"
|
||||
struct Foo {
|
||||
short s1;
|
||||
char b;
|
||||
@@ -41,7 +41,7 @@ int main(int argc, char *argv[])
|
||||
assert((p/__alignof__(void*)) * __alignof__(void*) == p);
|
||||
assert((p/__alignof__(double)) * __alignof__(double) == p);
|
||||
}
|
||||
|
||||
|
||||
uc_free_salloc(s);
|
||||
|
||||
s = uc_new_salloc(141);
|
||||
|
||||
Reference in New Issue
Block a user