Просмотр исходного кода

mx1fs2/flash: Fix multiple compiler warnings

"pointer targets in assignment differ in signedness"

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD 17 лет назад
Родитель
Сommit
217bf6b6a3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      board/mx1fs2/flash.c

+ 1 - 1
board/mx1fs2/flash.c

@@ -173,7 +173,7 @@ flash_print_info(flash_info_t * info)
 	int i;
 	uchar *boottype;
 	uchar *bootletter;
-	uchar *fmt;
+	char *fmt;
 	uchar botbootletter[] = "B";
 	uchar topbootletter[] = "T";
 	uchar botboottype[] = "bottom boot sector";