diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-02-13 23:04:09 +0100 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2011-02-21 21:46:01 +0100 |
commit | aff8f966c6d3f7dbad2d92d040ce7f5c4b286eef (patch) | |
tree | 270ac113c4b1e7355bf9a16c2d38eb97f75bd464 /src/savage_driver.c | |
parent | 6b22be096bed59a853e5e1cdd25d8943cce30d4f (diff) |
Use proper casts on framebuffer addresses
Correction to df8059025cafadaeea7672842d31134ed8c9c5df.
Casting addresses to int is a 32bitism. If we want to use
this intermediate cast to silence compiler warnings, we
should use uintptr_t instead to not introduce potential
bit truncation.
Thanks to Mark Kettenis for spotting this.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'src/savage_driver.c')
0 files changed, 0 insertions, 0 deletions