]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-258 pcre compile warnings
authorMichael Jerris <mike@jerris.com>
Thu, 18 Dec 2008 23:32:58 +0000 (23:32 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 18 Dec 2008 23:32:58 +0000 (23:32 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10878 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/pcre/pcretest.c

index 431378c6dc8c82ecbc4be0938e9984b3deca0ff0..101822c92d1ecfea44914ff8cdc7901c867fa755 100644 (file)
@@ -794,7 +794,7 @@ offsets = (int *)malloc(size_offsets_max * sizeof(int));
 if (offsets == NULL)
   {
   printf("** Failed to get %d bytes of memory for offsets vector\n",
-    size_offsets_max * sizeof(int));
+    size_offsets_max * (int)sizeof(int));
   yield = 1;
   goto EXIT;
   }
@@ -1736,7 +1736,7 @@ while (!done)
           if (offsets == NULL)
             {
             printf("** Failed to get %d bytes of memory for offsets vector\n",
-              size_offsets_max * sizeof(int));
+              size_offsets_max * (int)sizeof(int));
             yield = 1;
             goto EXIT;
             }