summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2014-09-16 15:38:11 +0000
committerAntonin Descampe <antonin@gmail.com>2014-09-16 15:38:11 +0000
commitb0072bf658c9294d0bd337cb3acd638d01124ee8 (patch)
treecfa4634853107a451b6d67046cfc746146b8f7d4 /src
parent2c810567dd9a01380da2b741afc2e21eb0d848e3 (diff)
[trunk] allow compilation with MinGW32 (fixes issue 361)
Diffstat (limited to 'src')
-rw-r--r--src/lib/openjp2/openjpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/openjpeg.c b/src/lib/openjp2/openjpeg.c
index 4665d906..364750c5 100644
--- a/src/lib/openjp2/openjpeg.c
+++ b/src/lib/openjp2/openjpeg.c
@@ -132,7 +132,7 @@ static OPJ_BOOL opj_seek_from_file (OPJ_OFF_T p_nb_bytes, FILE * p_user_data)
#ifdef _WIN32
#ifndef OPJ_STATIC
BOOL APIENTRY
-DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
+DllMain(HINSTANCE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
OPJ_ARG_NOT_USED(lpReserved);
OPJ_ARG_NOT_USED(hModule);