diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | parse.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,2 +1,5 @@ +CC=gcc +CFLAGS=-Wall -Wno-pointer-sign -g + parse: parse.c - gcc -Wall -g -o parse `xml2-config --cflags` parse.c `xml2-config --libs` + $(CC) $(CFLAGS) -o parse `xml2-config --cflags` parse.c `xml2-config --libs` @@ -185,7 +185,7 @@ static void sample_start(void) if (!dive) return; } - sample = dive->samples + nr; + sample = dive->sample + nr; } static void sample_end(void) |