console_cmds.c
changeset 887 36dcc100b6c0
parent 885 c9509db963ac
child 932 5fcff6cdc612
equal deleted inserted replaced
886:4442d7859ea7 887:36dcc100b6c0
   148 {
   148 {
   149 	/* Build file list */
   149 	/* Build file list */
   150 	BuildFileList();
   150 	BuildFileList();
   151 
   151 
   152 	/* Check if in range */
   152 	/* Check if in range */
   153 	if (no != 0 && no <= _fios_num) {
   153 	if (no != 0 && no <= (uint)_fios_num) {
   154 		const FiosItem *item = &_fios_list[no - 1];
   154 		const FiosItem *item = &_fios_list[no - 1];
   155 
   155 
   156 		/* Load the file */
   156 		/* Load the file */
   157 		_switch_mode = SM_LOAD;
   157 		_switch_mode = SM_LOAD;
   158 		SetFiosType(item->type);
   158 		SetFiosType(item->type);