From: <dg...@us...> - 2006-06-18 20:29:07
|
Update of /cvsroot/xine/xine-lib/src/input In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv13556/src/input Modified Files: input_dvb.c input_smb.c input_v4l.c Log Message: Misc warnings fixes. Index: input_dvb.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_dvb.c,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- input_dvb.c 3 May 2006 19:46:07 -0000 1.76 +++ input_dvb.c 18 Jun 2006 20:29:04 -0000 1.77 @@ -879,7 +879,7 @@ f = fopen(filename, "rb"); if (!f) { xprintf(xine, XINE_VERBOSITY_LOG, _("input_dvb: failed to open dvb channel file '%s'\n"), filename); - _x_message(this->stream, XINE_MSG_FILE_NOT_FOUND, filename, "Please run the dvbscan utility."); + _x_message(this->stream, XINE_MSG_FILE_NOT_FOUND, filename, "Please run the dvbscan utility.", NULL); return NULL; } @@ -1268,7 +1268,7 @@ /* Helper function for finding the channel index in the channels struct given the service_id. If channel is not found, -1 is returned. */ static int channel_index(dvb_input_plugin_t* this, unsigned int service_id) { - int n; + unsigned int n; for (n=0; n < this->num_channels; n++) if (this->channels[n].service_id == service_id) return n; Index: input_smb.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_smb.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- input_smb.c 2 Jun 2006 22:18:57 -0000 1.12 +++ input_smb.c 18 Jun 2006 20:29:04 -0000 1.13 @@ -239,7 +239,7 @@ smb_input_class_t *this = (smb_input_class_t *) this_gen; int (*func) () = _sortfiles_default; - unsigned int dir; + int dir; int i; struct smbc_dirent *pdirent; char current_path [XINE_PATH_MAX + 1]; Index: input_v4l.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_v4l.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- input_v4l.c 3 May 2006 19:46:07 -0000 1.56 +++ input_v4l.c 18 Jun 2006 20:29:04 -0000 1.57 @@ -803,7 +803,8 @@ { int found = 0; int tuner_found = 0; - int i, j, ret; + int i, ret; + unsigned int j; cfg_entry_t *entry; lprintf("open_video_capture_device\n"); |