diff options
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/yahoo/Makefile | 2 | ||||
| -rw-r--r-- | protocols/yahoo/yahoo.c | 8 | 
2 files changed, 5 insertions, 5 deletions
| diff --git a/protocols/yahoo/Makefile b/protocols/yahoo/Makefile index e5374538..20ecce71 100644 --- a/protocols/yahoo/Makefile +++ b/protocols/yahoo/Makefile @@ -14,7 +14,7 @@ endif  # [SH] Program variables  objects = yahoo.o crypt.o libyahoo2.o yahoo_fn.o yahoo_httplib.o yahoo_util.o -CFLAGS += -Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB -Wno-pointer-to-int-cast +CFLAGS += -Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB  LFLAGS += -r  # [SH] Phony targets diff --git a/protocols/yahoo/yahoo.c b/protocols/yahoo/yahoo.c index dfd2e70f..e926e60c 100644 --- a/protocols/yahoo/yahoo.c +++ b/protocols/yahoo/yahoo.c @@ -707,7 +707,7 @@ void ext_yahoo_error( int id, const char *err, int fatal, int num )  int ext_yahoo_add_handler( int id, void *fd_, yahoo_input_condition cond, void *data )  {  	struct byahoo_input_data *inp = g_new0( struct byahoo_input_data, 1 ); -	int fd = (int) fd_; +	int fd = (long) fd_;  	if( cond == YAHOO_INPUT_READ )  	{ @@ -789,17 +789,17 @@ char *ext_yahoo_get_ip_addr( const char *domain )  int ext_yahoo_write( void *fd, char *buf, int len )  { -	return write( (int) fd, buf, len ); +	return write( (long) fd, buf, len );  }  int ext_yahoo_read( void *fd, char *buf, int len )  { -	return read( (int) fd, buf, len ); +	return read( (long) fd, buf, len );  }  void ext_yahoo_close( void *fd )  { -	close( (int) fd ); +	close( (long) fd );  }  void ext_yahoo_got_buddy_change_group( int id, const char *me, const char *who, | 
