diff options
| author | Freeimage <freeimage@aliceadsl.fr> | 2006-01-31 21:26:11 +0000 |
|---|---|---|
| committer | Freeimage <freeimage@aliceadsl.fr> | 2006-01-31 21:26:11 +0000 |
| commit | 355b88c15d2dcafe4074b725e2165511df02f2dd (patch) | |
| tree | a02e55bae93e0403ab99c168dd1a2f34d8894e00 /libopenjpeg/image.c | |
| parent | 74c1b3637e922cac859dbda5cfefee4dc4f365e1 (diff) | |
fixed various minor warnings occuring under icc9 and bcc32, added MSVC project and compiler directives to build a 'standard' WIN32 DLL
Diffstat (limited to 'libopenjpeg/image.c')
| -rw-r--r-- | libopenjpeg/image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/image.c b/libopenjpeg/image.c index 6159b639..84664e9a 100644 --- a/libopenjpeg/image.c +++ b/libopenjpeg/image.c @@ -31,7 +31,7 @@ opj_image_t* opj_image_create0() { return image; } -opj_image_t *opj_image_create(int numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc) { +opj_image_t* OPJ_CALLCONV opj_image_create(int numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc) { int compno; opj_image_t *image = NULL; @@ -68,7 +68,7 @@ opj_image_t *opj_image_create(int numcmpts, opj_image_cmptparm_t *cmptparms, OPJ return image; } -void opj_image_destroy(opj_image_t *image) { +void OPJ_CALLCONV opj_image_destroy(opj_image_t *image) { int i; if(image) { if(image->comps) { |
