summaryrefslogtreecommitdiff
path: root/utils/kmstest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/kmstest.cpp')
-rw-r--r--utils/kmstest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/kmstest.cpp b/utils/kmstest.cpp
index 8340fa7..c6efb45 100644
--- a/utils/kmstest.cpp
+++ b/utils/kmstest.cpp
@@ -748,7 +748,7 @@ static string fb_crc(IFramebuffer* fb)
for (unsigned y = 0; y < fb->height(); ++y) {
for (unsigned x = 0; x < fb->width(); ++x) {
- uint32_t* p32 = (uint32_t*)(p + fb->stride(0) * y + x * 4);
+ uint32_t* p32 = reinterpret_cast<uint32_t*>(p + fb->stride(0) * y + x * 4);
RGB rgb(*p32);
r = crc16(r, rgb.r);