Merge pull request #6087 from AngusP/linux-build-warnings
[Minor] Fix build warnings on Linux
This commit is contained in:
commit
19c3d5b743
1
deps/hiredis/read.c
vendored
1
deps/hiredis/read.c
vendored
@ -31,6 +31,7 @@
|
||||
|
||||
#include "fmacros.h"
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <stdlib.h>
|
||||
#ifndef _MSC_VER
|
||||
#include <unistd.h>
|
||||
|
@ -37,7 +37,7 @@
|
||||
snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \
|
||||
}
|
||||
|
||||
static char error[1024];
|
||||
static char error[1044];
|
||||
static off_t epos;
|
||||
|
||||
int consumeNewline(char *buf) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user