diff --git a/reactos/lib/comdlg32/cdlg32.c b/reactos/lib/comdlg32/cdlg32.c index 1790aef0079..d351dbd9947 100644 --- a/reactos/lib/comdlg32/cdlg32.c +++ b/reactos/lib/comdlg32/cdlg32.c @@ -67,7 +67,7 @@ static const char * GPA_string = "Failed to get entry point %s for hinst = 0x%08 #define GPA(dest, hinst, name) \ if(!(dest = (void*)GetProcAddress(hinst,name)))\ { \ - ERR(GPA_string, debugstr_a(name), hinst); \ + ERR((LPSTR)GPA_string, debugstr_a(name), hinst); \ return FALSE; \ }