فهرست منبع

esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Jean-Christophe PLAGNIOL-VILLARD 17 سال پیش
والد
کامیت
58f3c57c60
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      board/esd/common/fpga.c

+ 1 - 1
board/esd/common/fpga.c

@@ -92,7 +92,7 @@
 #endif
 #endif
 
 
 
 
-static int fpga_boot(unsigned char *fpgadata, int size)
+static int fpga_boot(const unsigned char *fpgadata, int size)
 {
 {
   int i,index,len;
   int i,index,len;
   int count;
   int count;