Преглед изворни кода

Merge branch 'ctkErrorLogFDMessageHandler-compilation-warnings'

* ctkErrorLogFDMessageHandler-compilation-warnings:
  Fix ctkErrorLogFDMessageHandler compilation warning
Julien Finet пре 12 година
родитељ
комит
01f1a76fe7
1 измењених фајлова са 1 додато и 1 уклоњено
  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