Skip to content

Commit

Permalink
Silence the warnings about strlen() operating on char *
Browse files Browse the repository at this point in the history
This fixes the following warnings:
---
cweave.w:4462:8: warning: passing 'eight_bits *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign
      [-Wpointer-sign]
strcpy(collate+213,"\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377");
---
  • Loading branch information
wkoszek committed Aug 18, 2015
1 parent d33b6ba commit f3a1daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ TCHANGES=
WCHANGES=

# We keep debugging info around, for fun, but most users don't need it
CFLAGS = -g
CFLAGS = -g -Wno-pointer-sign
#CFLAGS = -O
LINKFLAGS = -g
#LINKFLAGS = -s # for smaller (stripped) executables on many UNIX systems
Expand Down

0 comments on commit f3a1daa

Please sign in to comment.