compositor-drm: pass NULL to mmap() instead of 0 as the address
authorChris Michael <cp.michael@samsung.com>
Tue, 10 Nov 2015 15:40:37 +0000 (10:40 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Thu, 12 Nov 2015 16:21:58 +0000 (10:21 -0600)
commit4a7ce1f66dd1763b0f61bdf5f40736ba927ef24a
tree9c4a7db06bd3b3597e3934df2ae02ba20a7d482e
parent6d556374b8ad46d2b2f8cd8f77a344c81a3311d7
compositor-drm: pass NULL to mmap() instead of 0 as the address

mmap() function expects to be passed a void pointer as the address
here. Passing NULL is technically more correct than passing 0.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
src/compositor-drm.c