cosmetic
This commit is contained in:
		
							parent
							
								
									4a3408633d
								
							
						
					
					
						commit
						b372e0428d
					
				| @ -57,7 +57,7 @@ int		foo, len_nom, len_ext; | ||||
| fprintf(stderr, "type_du_fichier(%s)\n", nom); | ||||
| #endif | ||||
| len_nom = strlen(nom); | ||||
| for (foo=0; foo<NBR_TYPES; foo++) { | ||||
| for (foo=0; foo<(int)NBR_TYPES; foo++) { | ||||
| 	len_ext = strlen(types_de_fichiers[foo].extension); | ||||
| 	if ( (len_nom > len_ext) && | ||||
| 	     !strcmp(nom+(len_nom-len_ext), types_de_fichiers[foo].extension) ) { | ||||
| @ -80,7 +80,7 @@ int	foo; | ||||
| 
 | ||||
| if (type == SON_UNKNOW)		return "unknow"; | ||||
| 
 | ||||
| for (foo=0; foo<NBR_TYPES; foo++) { | ||||
| for (foo=0; foo<(int)NBR_TYPES; foo++) { | ||||
| 	if (type==types_de_fichiers[foo].numtype) | ||||
| 		return (types_de_fichiers[foo].extension)+1; | ||||
| 	} | ||||
| @ -93,7 +93,7 @@ int	foo; | ||||
| 
 | ||||
| if (type == SON_UNKNOW)		return "unknow"; | ||||
| 
 | ||||
| for (foo=0; foo<NBR_TYPES; foo++) { | ||||
| for (foo=0; foo<(int)NBR_TYPES; foo++) { | ||||
| 	if (type==types_de_fichiers[foo].numtype) | ||||
| 		return (types_de_fichiers[foo].descr); | ||||
| 	} | ||||
| @ -175,7 +175,6 @@ int		foo; | ||||
| WINDOW		*popup; | ||||
| char		chaine[100]; | ||||
| struct stat	st; | ||||
| long		magicbits; | ||||
| 
 | ||||
| /*
 | ||||
|  *	ncurses initial stuff | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 tTh
						tTh