Index: /trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_shaders.cpp
===================================================================
--- /trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_shaders.cpp	(revision 78192)
+++ /trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_shaders.cpp	(revision 78193)
@@ -453,5 +453,5 @@
 
     size_t cchStr = CHECK_STRING_FROM_PTR_UPDATE_NO_RETURN(pState, name);
-    if (RT_UNLIKELY(cchStr == SIZE_MAX || packet_length != cchStr + 2 * sizeof(CRNetworkPointer)))
+    if (RT_UNLIKELY(cchStr == ~(size_t)0 || packet_length != cchStr + 2 * sizeof(CRNetworkPointer)))
     {
         crError("crUnpackExtendGetAttribLocation: packet_length is corrupt");
@@ -474,5 +474,5 @@
 
     size_t cchStr = CHECK_STRING_FROM_PTR_UPDATE_NO_RETURN(pState, name);
-    if (RT_UNLIKELY(cchStr == SIZE_MAX || packet_length != cchStr + 2 * sizeof(CRNetworkPointer)))
+    if (RT_UNLIKELY(cchStr == ~(size_t)0 || packet_length != cchStr + 2 * sizeof(CRNetworkPointer)))
     {
         crError("crUnpackExtendGetUniformLocation: packet_length is corrupt");
