提交 c4c66fd8 authored 作者: Michael Jerris's avatar Michael Jerris

FSCORE-258 pcre compile warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10878 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 6408a21c
...@@ -794,7 +794,7 @@ offsets = (int *)malloc(size_offsets_max * sizeof(int)); ...@@ -794,7 +794,7 @@ offsets = (int *)malloc(size_offsets_max * sizeof(int));
if (offsets == NULL) if (offsets == NULL)
{ {
printf("** Failed to get %d bytes of memory for offsets vector\n", 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; yield = 1;
goto EXIT; goto EXIT;
} }
...@@ -1736,7 +1736,7 @@ while (!done) ...@@ -1736,7 +1736,7 @@ while (!done)
if (offsets == NULL) if (offsets == NULL)
{ {
printf("** Failed to get %d bytes of memory for offsets vector\n", 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; yield = 1;
goto EXIT; goto EXIT;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论