[U-Boot] [PATCH 19/82] video: Use ulong for video frame buffer address

Simon Glass sjg at chromium.org
Mon Sep 26 05:33:22 CEST 2016


Change this type from int to ulong to avoid warnings on 64-bit machines.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/video_fb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/video_fb.h b/include/video_fb.h
index b008853..4a4fd5f 100644
--- a/include/video_fb.h
+++ b/include/video_fb.h
@@ -38,7 +38,7 @@ typedef struct graphic_device {
     unsigned int dprBase;
     unsigned int vprBase;
     unsigned int cprBase;
-    unsigned int frameAdrs;
+    unsigned long frameAdrs;
     unsigned int memSize;
     unsigned int mode;
     unsigned int gdfIndex;
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list