warning: assignment makes pointer from integer without a cast [enabled by default]
warning: initialization makes integer from pointer without a cast [enabled by default]
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Inki Dae <inki.dae@samsung.com>
return NULL;
}
- bo->vaddr = req.mapped;
+ bo->vaddr = (void *)(uintptr_t)req.mapped;
}
return bo->vaddr;
struct drm_exynos_vidi_connection req = {
.connection = connect,
.extensions = ext,
- .edid = edid,
+ .edid = (uint64_t)(uintptr_t)edid,
};
int ret;