ddraw_test: Use const char* for string constants, gcc 4.4 warning

svn path=/trunk/; revision=42906
This commit is contained in:
Gregor Schneider 2009-08-24 11:50:37 +00:00
parent eb65544870
commit b84ac6c703
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
#define GetCode(X) printf("%s\n", DDErrorString(X));
PCHAR DDErrorString (HRESULT hResult)
const PCHAR DDErrorString (HRESULT hResult)
{
switch (hResult)
{