diff options
Diffstat (limited to 'source/history.c')
-rw-r--r-- | source/history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/history.c b/source/history.c index faacb001..779f6e1b 100644 --- a/source/history.c +++ b/source/history.c @@ -257,7 +257,7 @@ char ** history_get_list ( const char *filename, unsigned int *length ) // Lists are always short, so performance should not be an issue. if ( ( *length ) > 0 ) { retv = g_malloc ( ( ( *length ) + 1 ) * sizeof ( char * ) ); - for ( int iter = 0; iter < ( *length ); iter++ ) { + for ( unsigned int iter = 0; iter < ( *length ); iter++ ) { retv[iter] = g_strdup ( list[iter]->name ); g_free ( list[iter] ); } |