diff --git a/src/Makefile b/src/Makefile index 5fbfbbd..10df8d1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -10,7 +10,7 @@ HEAD_COMMIT = `git rev-parse --short HEAD` LIBPATH = -L. LDFLAGS += -lz `sh osflags $(TARGETOS) link` $(LIBPATH) -CFLAGS += -c -g -Wall -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags` -DGITREVISION=\"$(HEAD_COMMIT)\" +CFLAGS += --std=gnu11 -O3 -c -g -Wall -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags` -DGITREVISION=\"$(HEAD_COMMIT)\" all: stateos $(CLIENT) $(SERVER) diff --git a/src/base64u.c b/src/base64u.c index 0c8de84..3c81e93 100644 --- a/src/base64u.c +++ b/src/base64u.c @@ -28,8 +28,7 @@ /* Note: the "unofficial" char is last here, which means that the \377 pattern in DOWNCODECCHECK1 ('Y' request) will properly test it. */ -static const char cb64[] = - "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789_"; +static const char cb64[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789_"; static unsigned char rev64[256]; static int reverse_init = 0;