mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
gdb2: Use const char* for string constants, gcc 4.4 warnings
svn path=/trunk/; revision=42908
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#define PARAMS_SEPARATOR " "
|
||||
#define PARAMS_SEPARATOR_LEN strlen(PARAMS_SEPARATOR);
|
||||
|
||||
void DisplayError(char *pszAPI);
|
||||
void DisplayError(const char *pszAPI);
|
||||
void ReadAndHandleOutput(HANDLE hPipeRead);
|
||||
void PrepAndLaunchRedirectedChild(HANDLE hChildStdOut,
|
||||
HANDLE hChildStdIn,
|
||||
@@ -274,7 +274,7 @@ DWORD WINAPI GetAndSendInputThread(LPVOID lpvThreadParam)
|
||||
// DisplayError
|
||||
// Displays the error number and corresponding message.
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
void DisplayError(char *pszAPI)
|
||||
void DisplayError(const char *pszAPI)
|
||||
{
|
||||
LPVOID lpvMessageBuffer;
|
||||
CHAR szPrintBuffer[512];
|
||||
|
||||
Reference in New Issue
Block a user