comparison mcabber/mcabber/commands.c @ 1680:1d84f5be2ad1

Kill a warning
author Mikael Berthe <mikael@lilotux.net>
date Tue, 02 Feb 2010 22:35:53 +0100
parents 96b5484423af
children d1e8fb14ce2d
comparison
equal deleted inserted replaced
1679:b2504df1c910 1680:1d84f5be2ad1
3811 // match 3811 // match
3812 flist.gl_offs = 0; 3812 flist.gl_offs = 0;
3813 if (glob(expfname, 0, source_print_error, &flist)) { 3813 if (glob(expfname, 0, source_print_error, &flist)) {
3814 scr_LogPrint(LPRINT_LOGNORM, "Source: error: %s.", strerror (errno)); 3814 scr_LogPrint(LPRINT_LOGNORM, "Source: error: %s.", strerror (errno));
3815 } else { 3815 } else {
3816 int i; 3816 unsigned int i;
3817 // sort list 3817 // sort list
3818 for (i = 1; i < flist.gl_pathc; ++i) { 3818 for (i = 1; i < flist.gl_pathc; ++i) {
3819 int j; 3819 int j;
3820 for (j = i-1; j > 0; --j) { 3820 for (j = i-1; j > 0; --j) {
3821 char *a = flist.gl_pathv[j+1]; 3821 char *a = flist.gl_pathv[j+1];