Skip to content

Commit

Permalink
Got rid of compiler warnings on Ubuntu/x86.
Browse files Browse the repository at this point in the history
  • Loading branch information
orangea committed Dec 20, 2010
1 parent fd451f5 commit 9179147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -11,7 +11,7 @@ DOCHTML = ${DOC:.textile=.html}

PREFIX = /usr/local
CC = gcc
CFLAGS = -Wall -fno-strict-aliasing -Wno-return-type -fpic -rdynamic
CFLAGS = -Wall -fno-strict-aliasing -Wno-return-type -D_GNU_SOURCE -fpic -rdynamic
DEBUG ?= 0
ECHO = /bin/echo
GREG = tools/greg
Expand Down
2 changes: 1 addition & 1 deletion core/compile.c
Expand Up @@ -551,7 +551,7 @@ void potion_source_asmb(Potion *P, vPN(Proto) f, struct PNLoop *loop, PN_SIZE co
PN_BLOCK(breg, t->a[2], t->a[1]);
}
}
#undef LOAD_ARG()
#undef LOAD_ARG
if (t->part == AST_MESSAGE) {
PN_ASM2(OP_CALL, reg, breg);
} else
Expand Down

0 comments on commit 9179147

Please sign in to comment.