diff --git a/reactos/subsys/system/regedit/framewnd.c b/reactos/subsys/system/regedit/framewnd.c index 49408a7e2ba..88605958566 100644 --- a/reactos/subsys/system/regedit/framewnd.c +++ b/reactos/subsys/system/regedit/framewnd.c @@ -365,7 +365,7 @@ static BOOL ExportRegistryFile(HWND hWnd) ofn.lpTemplateName = MAKEINTRESOURCE(IDD_EXPORTRANGE); if (GetSaveFileName(&ofn)) { BOOL result; - LPCSTR pszExportKeyPath; + LPSTR pszExportKeyPath; #ifdef UNICODE CHAR buffer[_MAX_PATH]; diff --git a/reactos/subsys/system/regedit/regproc.c b/reactos/subsys/system/regedit/regproc.c index 169df814597..18866eb0423 100644 --- a/reactos/subsys/system/regedit/regproc.c +++ b/reactos/subsys/system/regedit/regproc.c @@ -1290,7 +1290,7 @@ static FILE *REGPROC_open_export_file(const TCHAR *file_name) FILE *file = _tfopen(file_name, _T("w")); if (!file) { perror(""); - fprintf(stderr,"%s: Can't open file \"%s\"\n", getAppName(), file_name); +/* fprintf(stderr,"%s: Can't open file \"%s\"\n", getAppName(), file_name);*/ exit(1); } fputs("REGEDIT4\n", file);