From: Michael Jerris Date: Thu, 18 Dec 2008 23:32:58 +0000 (+0000) Subject: FSCORE-258 pcre compile warnings X-Git-Tag: v1.0.2~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4c66fd87bfd2599ba1a8930b05b6645b2d6d8c1;p=thirdparty%2Ffreeswitch.git FSCORE-258 pcre compile warnings git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10878 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/pcre/pcretest.c b/libs/pcre/pcretest.c index 431378c6dc..101822c92d 100644 --- a/libs/pcre/pcretest.c +++ b/libs/pcre/pcretest.c @@ -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; }