From c80b55653716bb17be48a5dd713bc86f0365ade4 Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Tue, 4 Oct 2005 02:46:14 +0000 Subject: [PATCH] Regedit: Fixed stupid compilation errors svn path=/trunk/; revision=18257 --- reactos/subsys/system/regedit/framewnd.c | 2 +- reactos/subsys/system/regedit/regproc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);