mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:45:50 +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 " "
|
||||||
#define PARAMS_SEPARATOR_LEN strlen(PARAMS_SEPARATOR);
|
#define PARAMS_SEPARATOR_LEN strlen(PARAMS_SEPARATOR);
|
||||||
|
|
||||||
void DisplayError(char *pszAPI);
|
void DisplayError(const char *pszAPI);
|
||||||
void ReadAndHandleOutput(HANDLE hPipeRead);
|
void ReadAndHandleOutput(HANDLE hPipeRead);
|
||||||
void PrepAndLaunchRedirectedChild(HANDLE hChildStdOut,
|
void PrepAndLaunchRedirectedChild(HANDLE hChildStdOut,
|
||||||
HANDLE hChildStdIn,
|
HANDLE hChildStdIn,
|
||||||
|
@ -274,7 +274,7 @@ DWORD WINAPI GetAndSendInputThread(LPVOID lpvThreadParam)
|
||||||
// DisplayError
|
// DisplayError
|
||||||
// Displays the error number and corresponding message.
|
// Displays the error number and corresponding message.
|
||||||
///////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////
|
||||||
void DisplayError(char *pszAPI)
|
void DisplayError(const char *pszAPI)
|
||||||
{
|
{
|
||||||
LPVOID lpvMessageBuffer;
|
LPVOID lpvMessageBuffer;
|
||||||
CHAR szPrintBuffer[512];
|
CHAR szPrintBuffer[512];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue