mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 15:53:26 +01:00
namelength should be signed, -Werror is probably overkill
This commit is contained in:
parent
a009fbf20c
commit
00e6546f0c
@ -15,7 +15,7 @@ MANFILES = toxic.1 toxic.conf.5
|
||||
|
||||
LIBS = libtoxcore ncursesw
|
||||
|
||||
CFLAGS = -std=gnu99 -pthread -Wall -Werror
|
||||
CFLAGS = -std=gnu99 -pthread -Wall
|
||||
CFLAGS += -DTOXICVER="\"$(VERSION)\"" -DHAVE_WIDECHAR -D_XOPEN_SOURCE_EXTENDED
|
||||
CFLAGS += -DPACKAGE_DATADIR="\"$(abspath $(DATADIR))\""
|
||||
CFLAGS += $(USER_CFLAGS)
|
||||
|
@ -46,7 +46,7 @@ struct LastOnline {
|
||||
|
||||
typedef struct {
|
||||
char name[TOX_MAX_NAME_LENGTH];
|
||||
uint16_t namelength;
|
||||
int namelength;
|
||||
char statusmsg[TOX_MAX_STATUSMESSAGE_LENGTH];
|
||||
uint16_t statusmsg_len;
|
||||
char groupchat_key[TOX_CLIENT_ID_SIZE];
|
||||
|
Loading…
Reference in New Issue
Block a user