diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-27 11:06:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-27 11:06:44 +0400 |
commit | cd0e92c5b7b5fb12f07305101fdba45a5cd10e9c (patch) | |
tree | 6c8db10ce243e3c37d3063f6c86c8043a2028c22 /source | |
parent | 2e8771e987454a6d9a339ec7ef8dbb6b5a3a21bd (diff) |
fix for building with msvc, ssize_t is more correct but in this case its not going to give issues.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 76f114de97b..4d158a6c26c 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -671,7 +671,7 @@ void *copy_libblock(void *rt) assert(idn != NULL); idn_len= MEM_allocN_len(idn); - if((ssize_t)idn_len - (ssize_t)sizeof(ID) > 0) { /* signed to allow neg result */ + if((int)idn_len - (int)sizeof(ID) > 0) { /* signed to allow neg result */ cp= (char *)id; cpn= (char *)idn; memcpy(cpn+sizeof(ID), cp+sizeof(ID), idn_len - sizeof(ID)); |