fix build errror with gcc

This commit is contained in:
wmayer 2012-02-07 20:57:41 +01:00
parent 60472e057f
commit 77d103156b

View File

@ -176,7 +176,7 @@ std::string FileInfo::getTempFileName(const char* FileName, const char* Path)
else
std::strcat(buf, "/fileXXXXXX");
int id = (void) mkstemp(buf);
int id = mkstemp(buf);
if (id > -1) {
FILE* file = fdopen(id, "w");
fclose(file);