Fix warning caused by bad casting

darcs-hash:20070416201034-ac50b-89a7257eadbf9098222cfb5ddc4bcf4bb88a8681.gz
This commit is contained in:
axel 2007-04-17 06:10:34 +10:00
parent 4d6751c274
commit 778b6a31ad

View file

@ -560,7 +560,7 @@ static int builtin_complete( wchar_t **argv )
for( i=0; i<al_get_count( comp ); i++ )
{
completion_t *next = (wchar_t *)al_get( comp, i );
completion_t *next = (completion_t *)al_get( comp, i );
if( next->description )
{
sb_printf( sb_out, L"%ls\t%ls\n", next->completion, next->description );