diff --git a/source/Debugger/Debugger_Symbols.cpp b/source/Debugger/Debugger_Symbols.cpp index b5860c09..df401e25 100644 --- a/source/Debugger/Debugger_Symbols.cpp +++ b/source/Debugger/Debugger_Symbols.cpp @@ -635,7 +635,7 @@ int ParseSymbolTable(const std::string & pPathFileName, SymbolTable_Index_e eSym size_t nLen = strlen( sName ); if (nLen > nMaxLen) { - ConsolePrintFormat( " %sWarn.: %s%s %s(%s%d %s> %s%d%s)" + ConsolePrintFormat( " %sWarn.: %s%s %s(%s%" SIZE_T_FMT " %s> %s%d%s)" , CHC_WARNING , CHC_SYMBOL , sName diff --git a/source/ParallelPrinter.cpp b/source/ParallelPrinter.cpp index b1c0eb90..f0418bfa 100644 --- a/source/ParallelPrinter.cpp +++ b/source/ParallelPrinter.cpp @@ -77,13 +77,14 @@ void ParallelPrinterCard::ClosePrint(void) { fclose(m_file); m_file = NULL; +#ifdef _WIN32 std::string ExtendedFileName = "copy \""; ExtendedFileName.append (ParallelPrinterCard::GetFilename()); ExtendedFileName.append ("\" prn"); //if (g_bDumpToPrinter) ShellExecute(NULL, "print", Printer_GetFilename(), NULL, NULL, 0); //Print through Notepad if (m_bDumpToPrinter) system (ExtendedFileName.c_str ()); //Print through console. This is supposed to be the better way, because it shall print images (with older printers only). - +#endif } m_inactivity = 0; }