diff options
author | Ton Roosendaal <ton@blender.org> | 2007-04-29 14:49:02 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-04-29 14:49:02 +0400 |
commit | 243d1a28c0635a85c2dca9a23e9465b170b0ba3a (patch) | |
tree | 90a6fb16f8ca90d04d70e8ff129c24c98b7f003a /source/blender/blenlib/intern/util.c | |
parent | e4d6f331eb90f7375a241a7698bd6958b6ced326 (diff) |
Casting fixes for 64 bits. Incomplete commit, discussion on proper casting
has to be finished.
Diffstat (limited to 'source/blender/blenlib/intern/util.c')
-rw-r--r-- | source/blender/blenlib/intern/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/util.c b/source/blender/blenlib/intern/util.c index 83e110101dc..cfce8e3dafa 100644 --- a/source/blender/blenlib/intern/util.c +++ b/source/blender/blenlib/intern/util.c @@ -1540,7 +1540,7 @@ void *BLI_pointer_from_int(int val) firsttime= 0; free(poin); } - return basevalue | (((long)val)<<3); + return (void *)(basevalue | (((long)val)<<3)); } #else |