Unverified Commit 19c3d5b7 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #6087 from AngusP/linux-build-warnings

[Minor] Fix build warnings on Linux
parents 1212f228 a1fb0be1
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "fmacros.h" #include "fmacros.h"
#include <string.h> #include <string.h>
#include <strings.h>
#include <stdlib.h> #include <stdlib.h>
#ifndef _MSC_VER #ifndef _MSC_VER
#include <unistd.h> #include <unistd.h>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \ snprintf(error, sizeof(error), "0x%16llx: %s", (long long)epos, __buf); \
} }
static char error[1024]; static char error[1044];
static off_t epos; static off_t epos;
int consumeNewline(char *buf) { int consumeNewline(char *buf) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment