浏览代码

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 年之前
父节点
当前提交
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";