diff options
| author | Quentin Carbonneaux | 2016-11-21 16:27:28 -0500 |
|---|---|---|
| committer | Quentin Carbonneaux | 2016-11-21 16:27:34 -0500 |
| commit | 294e0d2522d6044bf68dc232f87d00703c756d17 (patch) | |
| tree | a4daecba2eaad14defb7b805c44caf5de5c94cb6 | |
| parent | 7cf5b1709a715eb8af0caadb3af229e04895a822 (diff) | |
minor tweaks for compiler warnings
| -rw-r--r-- | .comfile | 1 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | irc.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/.comfile b/.comfile deleted file mode 100644 index 4558567..0000000 --- a/.comfile +++ /dev/null @@ -1 +0,0 @@ -irc.c @@ -1,6 +1,6 @@ BIN = irc -CFLAGS = -std=c99 -Os -D_POSIX_C_SOURCE=201112 -D_GNU_SOURCE -D_XOPEN_CURSES -D_XOPEN_SOURCE_EXTENDED=1 -D_BSD_SOURCE +CFLAGS = -std=c99 -Os -D_POSIX_C_SOURCE=201112 -D_GNU_SOURCE -D_XOPEN_CURSES -D_XOPEN_SOURCE_EXTENDED=1 -D_DEFAULT_SOURCE LDFLAGS = -lncursesw all: ${BIN} @@ -42,7 +42,7 @@ enum { RuneInvalid = 0xFFFD, }; -typedef unsigned int Rune; +typedef wchar_t Rune; static struct { int x; |
