summaryrefslogtreecommitdiffstats
path: root/crypto/comp
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-30 17:41:01 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-30 17:41:01 +0000
commit136315514544661a258ef7b37e94264537a56994 (patch)
treed34af6051d6a961a1b4b4c9d97658cb4f6888d71 /crypto/comp
parentdb5bda670fea02abdb9b18ebc7253b48b727204f (diff)
A few bug fixes for Windows.
Diffstat (limited to 'crypto/comp')
-rw-r--r--crypto/comp/c_zlib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/comp/c_zlib.c b/crypto/comp/c_zlib.c
index 90ead64b72..c2ff6c7011 100644
--- a/crypto/comp/c_zlib.c
+++ b/crypto/comp/c_zlib.c
@@ -51,7 +51,7 @@ static COMP_METHOD zlib_method={
#if defined(WINDOWS) || defined(WIN32)
# include <windows.h>
-# define Z_CALLCONV _stcall
+# define Z_CALLCONV _stdcall
# define ZLIB_SHARED
#else
# define Z_CALLCONV
@@ -69,11 +69,11 @@ static int stub_inflateInit_(z_streamp strm, const char * version,
int stream_size);
/* Function pointers */
-typedef int Z_CALLCONV (*compress_ft)(Bytef *dest,uLongf *destLen,
+typedef int (Z_CALLCONV *compress_ft)(Bytef *dest,uLongf *destLen,
const Bytef *source, uLong sourceLen);
-typedef int Z_CALLCONV (*inflateEnd_ft)(z_streamp strm);
-typedef int Z_CALLCONV (*inflate_ft)(z_streamp strm, int flush);
-typedef int Z_CALLCONV (*inflateInit__ft)(z_streamp strm,
+typedef int (Z_CALLCONV *inflateEnd_ft)(z_streamp strm);
+typedef int (Z_CALLCONV *inflate_ft)(z_streamp strm, int flush);
+typedef int (Z_CALLCONV *inflateInit__ft)(z_streamp strm,
const char * version, int stream_size);
static compress_ft p_compress=NULL;
static inflateEnd_ft p_inflateEnd=NULL;