$OpenBSD: patch-libs_shadervm_dsoshadeops_cpp,v 1.1 2018/04/22 09:06:06 rsadowski Exp $

Index: libs/shadervm/dsoshadeops.cpp
--- libs/shadervm/dsoshadeops.cpp.orig
+++ libs/shadervm/dsoshadeops.cpp
@@ -147,7 +147,7 @@ CqDSORepository::getShadeOpMethods(CqString* pShadeOpN
 		    {
 			    //We have an appropriate named shadeop table
 			    SqShadeOp *pShadeOp = (SqShadeOp*) pTableSymbol;
-			    while( ( pShadeOp->m_opspec )[0] != (char) NULL )
+			    while( ( pShadeOp->m_opspec )[0] != '\0' )
 			    {
 				    SqDSOExternalCall *pDSOCall = NULL;
 				    pDSOCall = parseShadeOpTableEntry( handle, pShadeOp );
