From bcd4ec7bd21ed766328fe1ce07572c8222ee027e Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Sun, 29 Aug 2021 21:57:43 -0600 Subject: [PATCH] type fix --- src/resources.c | 4 ++-- src/resources.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/resources.c b/src/resources.c index 09ee8a1..a04786c 100644 --- a/src/resources.c +++ b/src/resources.c @@ -83,7 +83,7 @@ static BOOL check_in_list(PRESFILE presfile) return FALSE; } -HRESULT Rsrc_load_file(LPCSTR filename, PHRESFILE newhandle) +HRESULT Rsrc_load_file(PCSTR filename, PHRESFILE newhandle) { HRESULT hr = S_OK; PRESFILE pfile = NULL; @@ -145,7 +145,7 @@ HRESULT Rsrc_close_file(HRESFILE handle) return E_HANDLE; } -HRESULT Rsrc_find_resource(HRESFILE hfile, LPCSTR name, LPCSTR type, PHRSRC presource) +HRESULT Rsrc_find_resource(HRESFILE hfile, PCSTR name, PCSTR type, PHRSRC presource) { HRESULT hr = S_OK; PRESFILE pfile = (PRESFILE)hfile; diff --git a/src/resources.h b/src/resources.h index d6bae71..082a3a2 100644 --- a/src/resources.h +++ b/src/resources.h @@ -28,9 +28,9 @@ typedef HANDLE HRSRC; /* handle to resource */ typedef HRESFILE *PHRESFILE; typedef HRSRC *PHRSRC; -extern HRESULT Rsrc_load_file(LPCSTR filename, PHRESFILE newhandle); +extern HRESULT Rsrc_load_file(PCSTR filename, PHRESFILE newhandle); extern HRESULT Rsrc_close_file(HRESFILE handle); -extern HRESULT Rsrc_find_resource(HRESFILE hfile, LPCSTR name, LPCSTR type, PHRSRC presource); +extern HRESULT Rsrc_find_resource(HRESFILE hfile, PCSTR name, PCSTR type, PHRSRC presource); extern HRESULT Rsrc_free_resource(HRSRC resource); extern UINT Rsrc_sizeof_resource(HRSRC resource); extern HRESULT Rsrc_read_resource_here(HRSRC resource, PVOID buffer, UINT size, PUINT actual_read);