CHANGED: - added explicit cast to remove compiler warning
authorChristian Taedcke
Mon, 15 Nov 2010 08:55:34 +0100
changeset 648 dd0a627142c6
parent 647 8203ce2b9752
child 649 3beb784bacee
CHANGED: - added explicit cast to remove compiler warning
src/objacces.c
--- a/src/objacces.c	Fri Feb 19 08:20:21 2010 +0100
+++ b/src/objacces.c	Mon Nov 15 08:55:34 2010 +0100
@@ -153,7 +153,7 @@
             *(ptr_dest++) = *(ptr++);
         } 
          
-        *pExpectedSize = ptr - ptr_start;
+        *pExpectedSize = (UNS32) (ptr - ptr_start);
         /* terminate string if not maximum length */
         if (*pExpectedSize < szData) 
             *(ptr) = 0;