From eb5054e6eb0d810f26caff9f09e43dbeee4a69fa Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 28 Sep 2014 11:20:06 -0400 Subject: Fix warnings in video_core --- src/core/hw/gpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hw/gpu.h') diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h index 7186bfa8..c853429a 100644 --- a/src/core/hw/gpu.h +++ b/src/core/hw/gpu.h @@ -201,7 +201,7 @@ struct Regs { #undef INSERT_PADDING_WORDS_HELPER2 #undef INSERT_PADDING_WORDS - static inline int NumIds() { + static inline size_t NumIds() { return sizeof(Regs) / sizeof(u32); } -- cgit v1.2.3