Просмотр исходного кода

Merge branch 'ctkErrorLogFDMessageHandler-compilation-warnings'

* ctkErrorLogFDMessageHandler-compilation-warnings:
  Fix ctkErrorLogFDMessageHandler compilation warning
Julien Finet лет назад: 12
Родитель
Сommit
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