minor tweaks for compiler warnings - irc - Unnamed repository; edit this file '… | |
git clone git://vernunftzentrum.de/irc.git | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 294e0d2522d6044bf68dc232f87d00703c756d17 | |
parent 7cf5b1709a715eb8af0caadb3af229e04895a822 | |
Author: Quentin Carbonneaux <[email protected]> | |
Date: Mon, 21 Nov 2016 16:27:28 -0500 | |
minor tweaks for compiler warnings | |
Diffstat: | |
.comfile | 1 - | |
Makefile | 2 +- | |
irc.c | 2 +- | |
3 files changed, 2 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/.comfile b/.comfile | |
@@ -1 +0,0 @@ | |
-irc.c | |
diff --git a/Makefile b/Makefile | |
@@ -1,6 +1,6 @@ | |
BIN = irc | |
-CFLAGS = -std=c99 -Os -D_POSIX_C_SOURCE=201112 -D_GNU_SOURCE -D_XOPEN_CURSES -… | |
+CFLAGS = -std=c99 -Os -D_POSIX_C_SOURCE=201112 -D_GNU_SOURCE -D_XOPEN_CURSES -… | |
LDFLAGS = -lncursesw | |
all: ${BIN} | |
diff --git a/irc.c b/irc.c | |
@@ -42,7 +42,7 @@ enum { | |
RuneInvalid = 0xFFFD, | |
}; | |
-typedef unsigned int Rune; | |
+typedef wchar_t Rune; | |
static struct { | |
int x; |