mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-06-28 16:46:02 +02:00
fix warning
This commit is contained in:
parent
d4a49cf511
commit
b999616df8
@ -58,7 +58,7 @@ static JSONCPP_STRING readInputTestFile(const char* path) {
|
|||||||
return JSONCPP_STRING("");
|
return JSONCPP_STRING("");
|
||||||
fseek(file, 0, SEEK_END);
|
fseek(file, 0, SEEK_END);
|
||||||
long const size = ftell(file);
|
long const size = ftell(file);
|
||||||
unsigned long const usize = static_cast<unsigned long const>(size);
|
unsigned long const usize = static_cast<unsigned long>(size);
|
||||||
fseek(file, 0, SEEK_SET);
|
fseek(file, 0, SEEK_SET);
|
||||||
JSONCPP_STRING text;
|
JSONCPP_STRING text;
|
||||||
char* buffer = new char[size + 1];
|
char* buffer = new char[size + 1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user