Explorar el Código

Merge branch 'ctkErrorLogFDMessageHandler-compilation-warnings'

* ctkErrorLogFDMessageHandler-compilation-warnings:
  Fix ctkErrorLogFDMessageHandler compilation warning
Julien Finet hace 12 años
padre
commit
01f1a76fe7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Libs/Core/ctkErrorLogFDMessageHandler.cpp

+ 1 - 1
Libs/Core/ctkErrorLogFDMessageHandler.cpp

@@ -137,7 +137,7 @@ void ctkFDHandler::setEnabled(bool value)
 
     QString newline("\n");
 #ifdef Q_OS_WIN32
-    _write(fileno(this->terminalOutputFile()), qPrintable(newline), newline.size());
+    _write(_fileno(this->terminalOutputFile()), qPrintable(newline), newline.size());
 #else
     write(fileno(this->terminalOutputFile()), qPrintable(newline), newline.size());
 #endif