diff --git a/effects/blur/blurshader.cpp b/effects/blur/blurshader.cpp index 18a3e1b649..1564c5a7f2 100644 --- a/effects/blur/blurshader.cpp +++ b/effects/blur/blurshader.cpp @@ -396,7 +396,7 @@ void ARBBlurShader::unbind() #ifndef KWIN_HAVE_OPENGLES int boundObject; glGetProgramivARB(GL_FRAGMENT_PROGRAM_ARB, GL_PROGRAM_BINDING_ARB, &boundObject); - if (boundObject == program) { + if (boundObject == (int)program) { glBindProgramARB(GL_FRAGMENT_PROGRAM_ARB, 0); glDisable(GL_FRAGMENT_PROGRAM_ARB); } diff --git a/lanczosfilter.cpp b/lanczosfilter.cpp index 9b8834d417..9b357ac19e 100644 --- a/lanczosfilter.cpp +++ b/lanczosfilter.cpp @@ -582,7 +582,7 @@ void LanczosShader::unbind() else { int boundObject; glGetProgramivARB(GL_FRAGMENT_PROGRAM_ARB, GL_PROGRAM_BINDING_ARB, &boundObject); - if (boundObject == m_arbProgram) { + if (boundObject == (int)m_arbProgram) { glBindProgramARB(GL_FRAGMENT_PROGRAM_ARB, 0); glDisable(GL_FRAGMENT_PROGRAM_ARB); }