Casting unsigned long to unsigned int to avoid compiler warnings
[allwinner_tvout_manipulator.git] / src / main.c
index 32a5ae6..136fd75 100644 (file)
@@ -8,6 +8,6 @@ int main()
 
     readmem("0x01E00130", 'w', readfrommemory);
 
-    printf("Value: 0x%X", readfrommemory);
+    printf("Value: 0x%X", (unsigned int)readfrommemory);
     return 0;
 }