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

fix msvc release mode build errors

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12199 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 cc6d9aa5
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
#define HDLC_FRAMING_OK_THRESHOLD 5 #define HDLC_FRAMING_OK_THRESHOLD 5
int fax_modems_v17_v21_rx(void *user_data, const int16_t amp[], int len) SPAN_DECLARE(int) fax_modems_v17_v21_rx(void *user_data, const int16_t amp[], int len)
{ {
fax_modems_state_t *s; fax_modems_state_t *s;
...@@ -106,7 +106,7 @@ int fax_modems_v17_v21_rx(void *user_data, const int16_t amp[], int len) ...@@ -106,7 +106,7 @@ int fax_modems_v17_v21_rx(void *user_data, const int16_t amp[], int len)
} }
/*- End of function --------------------------------------------------------*/ /*- End of function --------------------------------------------------------*/
int fax_modems_v27ter_v21_rx(void *user_data, const int16_t amp[], int len) SPAN_DECLARE(int) fax_modems_v27ter_v21_rx(void *user_data, const int16_t amp[], int len)
{ {
fax_modems_state_t *s; fax_modems_state_t *s;
...@@ -125,7 +125,7 @@ int fax_modems_v27ter_v21_rx(void *user_data, const int16_t amp[], int len) ...@@ -125,7 +125,7 @@ int fax_modems_v27ter_v21_rx(void *user_data, const int16_t amp[], int len)
} }
/*- End of function --------------------------------------------------------*/ /*- End of function --------------------------------------------------------*/
int fax_modems_v29_v21_rx(void *user_data, const int16_t amp[], int len) SPAN_DECLARE(int) fax_modems_v29_v21_rx(void *user_data, const int16_t amp[], int len)
{ {
fax_modems_state_t *s; fax_modems_state_t *s;
......
...@@ -410,7 +410,7 @@ static int test_tiff_directory_info(t4_state_t *s) ...@@ -410,7 +410,7 @@ static int test_tiff_directory_info(t4_state_t *s)
return -1; return -1;
parm = 0; parm = 0;
TIFFGetField(t->tiff_file, TIFFTAG_IMAGEWIDTH, &parm); TIFFGetField(t->tiff_file, TIFFTAG_IMAGEWIDTH, &parm);
if (s->image_width != parm) if (s->image_width != (int)parm)
{ {
printf("Width changed\n"); printf("Width changed\n");
return 1; return 1;
...@@ -1959,7 +1959,7 @@ SPAN_DECLARE(t4_state_t *) t4_tx_init(t4_state_t *s, const char *file, int start ...@@ -1959,7 +1959,7 @@ SPAN_DECLARE(t4_state_t *) t4_tx_init(t4_state_t *s, const char *file, int start
s->stop_page = (stop_page >= 0) ? stop_page : INT_MAX; s->stop_page = (stop_page >= 0) ? stop_page : INT_MAX;
if (!TIFFSetDirectory(s->tiff.tiff_file, (tdir_t) s->current_page)) if (!TIFFSetDirectory(s->tiff.tiff_file, (tdir_t) s->current_page))
return -1; return NULL;
if (get_tiff_directory_info(s)) if (get_tiff_directory_info(s))
{ {
close_tiff_input_file(s); close_tiff_input_file(s);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论