mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
gdb2: Use const char* for string constants, gcc 4.4 warnings
svn path=/trunk/; revision=42908
This commit is contained in:
parent
aab0f77c13
commit
2296d0a5dd
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue