diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2015-04-29 18:18:07 +0300 |
---|---|---|
committer | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2015-05-01 19:13:09 +0300 |
commit | 9cf224322007d90193d4910f0da6e0e29ce01d70 (patch) | |
tree | 36785ad2f9a25dc40bf88fcbaacc927ac1005db7 /cipher/md.c | |
parent | d5a7e00b6b222566a5650639ef29684b047c1909 (diff) | |
download | libgcrypt-9cf224322007d90193d4910f0da6e0e29ce01d70.tar.gz |
Cast pointers to integers using uintptr_t instead of long
Diffstat (limited to 'cipher/md.c')
-rw-r--r-- | cipher/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/md.c b/cipher/md.c index 9fef5559..3ab46efc 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -1148,7 +1148,7 @@ md_stop_debug( gcry_md_hd_t md ) #ifdef HAVE_U64_TYPEDEF { /* a kludge to pull in the __muldi3 for Solaris */ - volatile u32 a = (u32)(ulong)md; + volatile u32 a = (u32)(uintptr_t)md; volatile u64 b = 42; volatile u64 c; c = a * b; |