Преглед на файлове

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