@@ -84,7 +84,7 @@ unsigned char input_handle_joystick(void)
8484 return 0 ;
8585}
8686
87- void input_line (unsigned char x , unsigned char y , unsigned char o , char * c , unsigned char l , bool password )
87+ void input_line (unsigned char , unsigned char , unsigned char , char * , unsigned char , bool )
8888{
8989}
9090
@@ -107,7 +107,7 @@ void input_line_set_wifi_password(char *c)
107107 edit_line (0 , 21 , c , 64 , true);
108108}
109109
110- void input_line_hosts_and_devices_host_slot (unsigned char i , unsigned char o , char * c )
110+ void input_line_hosts_and_devices_host_slot (unsigned char i , unsigned char , char * c )
111111{
112112 edit_line (5 , i + HOSTS_START_Y , c , 32 , false);
113113}
@@ -123,7 +123,7 @@ unsigned char input_select_file_new_type(void)
123123 return 1 ;
124124}
125125
126- unsigned long input_select_file_new_size (unsigned char t )
126+ unsigned long input_select_file_new_size (unsigned char )
127127{
128128 char temp [8 ];
129129 memset (temp , 0 , sizeof (temp ));
@@ -198,9 +198,10 @@ void input_select_file_new_name(char *c)
198198
199199bool input_select_slot_build_eos_directory (void )
200200{
201+ return false;
201202}
202203
203- void input_select_slot_build_eos_directory_label (char * c )
204+ void input_select_slot_build_eos_directory_label (char * )
204205{
205206}
206207
@@ -345,13 +346,13 @@ HDSubState input_hosts_and_devices_hosts(void)
345346 return HD_HOSTS ;
346347 case KCODE_RETURN :
347348 selected_host_slot = bar_get () - HOSTS_START_Y ;
348- if ( !wifiEnabled && strcmp (hostSlots [selected_host_slot ],"SD" ) != 0 ) // Don't go in a TNFS host if wifi is disabled.
349+ if ( !wifiEnabled && strcmp (( char * ) hostSlots [selected_host_slot ],"SD" ) != 0 ) // Don't go in a TNFS host if wifi is disabled.
349350 {
350351 return HD_HOSTS ;
351352 }
352353 if (hostSlots [selected_host_slot ][0 ] != 0 )
353354 {
354- strcpy (selected_host_name , hostSlots [selected_host_slot ]);
355+ strcpy (selected_host_name , ( char * ) hostSlots [selected_host_slot ]);
355356 state = SELECT_FILE ;
356357 return HD_DONE ;
357358 }
@@ -433,13 +434,13 @@ HDSubState input_hosts_and_devices_devices(void)
433434 // set device mode to read
434435 selected_device_slot = bar_get () - DEVICES_START_Y ;
435436 hosts_and_devices_devices_set_mode (MODE_READ );
436- screen_hosts_and_devices_device_slots (DEVICES_START_Y , & deviceSlots [0 ], "" );
437+ screen_hosts_and_devices_device_slots (DEVICES_START_Y , & deviceSlots [0 ], ( bool * ) "" );
437438 return HD_DEVICES ;
438439 case 'W' :
439440 // set device mode to write
440441 selected_device_slot = bar_get () - DEVICES_START_Y ;
441442 hosts_and_devices_devices_set_mode (MODE_WRITE );
442- screen_hosts_and_devices_device_slots (DEVICES_START_Y , & deviceSlots [0 ], "" );
443+ screen_hosts_and_devices_device_slots (DEVICES_START_Y , & deviceSlots [0 ], ( bool * ) "" );
443444 return HD_DEVICES ;
444445 case 'C' :
445446 state = SHOW_INFO ;
0 commit comments