Skip to content

Commit bc1fc6a

Browse files
committed
sparc64: fix build failure
The following biuld error is observed on sparc64: ... defs.h:2592:54: error: expected statement before ‘)’ token 2592 | #define BOOL(ADDR) LOADER(bool) ((char *)(ADDR))) | ^ sbitmap.c:425:35: note: in expansion of macro ‘BOOL’ 425 | sc->round_robin = BOOL(sbitmap_buf + OFFSET(sbitmap_round_robin)); | ^~~~ make[5]: *** [Makefile:395: sbitmap.o] Error 1 The round brackets are not paired, let's fix it. Signed-off-by: Lianbo Jiang <[email protected]>
1 parent ca0b70e commit bc1fc6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2589,7 +2589,7 @@ DEF_LOADER(bool);
25892589
#define SHORT(ADDR) LOADER(short) ((char *)(ADDR))
25902590
#define UCHAR(ADDR) *((unsigned char *)((char *)(ADDR)))
25912591
#define VOID_PTR(ADDR) ((void *) (LOADER(pointer_t) ((char *)(ADDR))))
2592-
#define BOOL(ADDR) LOADER(bool) ((char *)(ADDR)))
2592+
#define BOOL(ADDR) LOADER(bool) ((char *)(ADDR))
25932593

25942594
#else
25952595

0 commit comments

Comments
 (0)