From fea85945dad15b471bce4fb7f7d2dc6d1eb81af2 Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Mon, 3 Jan 2011 01:59:44 +0000 Subject: [PATCH] Warning fix for gcc ;) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6727 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/VideoCommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/Src/VideoCommon.h b/Source/Core/VideoCommon/Src/VideoCommon.h index d22ba2eb17..b2e9a42f2f 100644 --- a/Source/Core/VideoCommon/Src/VideoCommon.h +++ b/Source/Core/VideoCommon/Src/VideoCommon.h @@ -182,7 +182,7 @@ inline u32 Z24ToZ16ToZ24(u32 src) } // returns the exponent of the smallest power of two which is greater than val -static unsigned int GetPow2(unsigned int val) +inline unsigned int GetPow2(unsigned int val) { unsigned int ret = 0; for (; val; val >>= 1)