From c4c66fd87bfd2599ba1a8930b05b6645b2d6d8c1 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 18 Dec 2008 23:32:58 +0000 Subject: [PATCH] FSCORE-258 pcre compile warnings git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10878 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/pcre/pcretest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }