diff --git a/src/tools/data_to_source.cpp b/src/tools/data_to_source.cpp index 9d7650d97c..c1dceb95e9 100644 --- a/src/tools/data_to_source.cpp +++ b/src/tools/data_to_source.cpp @@ -110,7 +110,7 @@ main(int argc, const char* const* argv) // close the braces and write the size variable sprintf(lineBuffer, "};\nlong long %s = %lldLL;\n", sizeVarName, - dataSize); + (long long)dataSize); write_string(outFD, lineBuffer); close(inFD);