anholt / vc4-gpu-tools

Userland tools for debugging and testing the VC4 kernel driver.
15 stars 5 forks source link

Correct GCC build warnings #1

Closed Echelon9 closed 8 years ago

Echelon9 commented 8 years ago

GCC warns of the following in vc4_get_end_paddr() and vc4_pointer_to_paddr(), as NULL was being returned by a function with return type of uint32_t:

warning: return makes integer from pointer without a cast
         return NULL;
         ^

Clean build log now with GCC 4.9.2.

anholt commented 8 years ago

Thanks!