From c1557ca157345b322c623761ec66764c026f86c5 Mon Sep 17 00:00:00 2001 From: Michael Schuldt Date: Fri, 23 Mar 2012 10:26:54 +0100 Subject: [PATCH] LayerManagerCommands : Removes signed / unsigned mismatch --- LayerManagerCommands/src/SurfaceSetNativeContentCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LayerManagerCommands/src/SurfaceSetNativeContentCommand.cpp b/LayerManagerCommands/src/SurfaceSetNativeContentCommand.cpp index 0bcec48..271cf4a 100644 --- a/LayerManagerCommands/src/SurfaceSetNativeContentCommand.cpp +++ b/LayerManagerCommands/src/SurfaceSetNativeContentCommand.cpp @@ -52,7 +52,7 @@ ExecutionResult SurfaceSetNativeContentCommand::execute(ICommandExecutor* execut result = ExecutionSuccessRedraw; } - else if(surface->getNativeContent() == m_nativeHandle) + else if( (unsigned int) surface->getNativeContent() == m_nativeHandle) { result = ExecutionSuccess; } -- 2.7.4