forked from Mirrors/freeswitch
fix msvc release mode build errors
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12199 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
cc6d9aa574
commit
a52c9cf4a6
@ -87,7 +87,7 @@
|
||||
|
||||
#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;
|
||||
|
||||
@ -106,7 +106,7 @@ int fax_modems_v17_v21_rx(void *user_data, const int16_t amp[], int len)
|
||||
}
|
||||
/*- 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;
|
||||
|
||||
@ -125,7 +125,7 @@ int fax_modems_v27ter_v21_rx(void *user_data, const int16_t amp[], int len)
|
||||
}
|
||||
/*- 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;
|
||||
|
||||
|
@ -410,7 +410,7 @@ static int test_tiff_directory_info(t4_state_t *s)
|
||||
return -1;
|
||||
parm = 0;
|
||||
TIFFGetField(t->tiff_file, TIFFTAG_IMAGEWIDTH, &parm);
|
||||
if (s->image_width != parm)
|
||||
if (s->image_width != (int)parm)
|
||||
{
|
||||
printf("Width changed\n");
|
||||
return 1;
|
||||
@ -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;
|
||||
|
||||
if (!TIFFSetDirectory(s->tiff.tiff_file, (tdir_t) s->current_page))
|
||||
return -1;
|
||||
return NULL;
|
||||
if (get_tiff_directory_info(s))
|
||||
{
|
||||
close_tiff_input_file(s);
|
||||
|
Loading…
Reference in New Issue
Block a user