Windows compat fixes.

This commit is contained in:
Ben Vanik
2013-02-06 10:04:34 -08:00
parent 2521d64615
commit 7435a327f7
12 changed files with 52 additions and 13 deletions

View File

@@ -124,7 +124,7 @@ void xe_mmap_release(xe_mmap_ref mmap) {
}
uint8_t* xe_mmap_get_addr(xe_mmap_ref mmap) {
return mmap->addr;
return reinterpret_cast<uint8_t*>(mmap->addr);
}
size_t xe_mmap_get_length(xe_mmap_ref mmap) {