ddraw_test: Use const char* for string constants, gcc 4.4 warning
[reactos.git] / rostests / dxtest / ddraw / debug.cpp
index 8744547..a2830eb 100644 (file)
@@ -1,7 +1,7 @@
 
 #define GetCode(X) printf("%s\n", DDErrorString(X));
 
-PCHAR DDErrorString (HRESULT hResult)
+const PCHAR DDErrorString (HRESULT hResult)
 {
        switch (hResult)
        {