You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by je...@apache.org on 2010/11/13 16:47:13 UTC

svn commit: r1034782 - /trafficserver/traffic/trunk/proxy/http2/HttpSM.cc

Author: jesus
Date: Sat Nov 13 15:47:12 2010
New Revision: 1034782

URL: http://svn.apache.org/viewvc?rev=1034782&view=rev
Log:
TS-533

No idea why this complains about this.

gcc-4.3.3 results in "error: NULL used in arithmetic" on ARM.

for each of these.  This too should simply a redundant cast
on platforms that don't present with this illness.

Modified:
    trafficserver/traffic/trunk/proxy/http2/HttpSM.cc

Modified: trafficserver/traffic/trunk/proxy/http2/HttpSM.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/http2/HttpSM.cc?rev=1034782&r1=1034781&r2=1034782&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/http2/HttpSM.cc (original)
+++ trafficserver/traffic/trunk/proxy/http2/HttpSM.cc Sat Nov 13 15:47:12 2010
@@ -2533,11 +2533,11 @@ HttpSM::main_handler(int event, void *da
     } else {
       jump_point = vc_entry->vc_handler;
     }
-    ink_assert(jump_point != NULL);
-    ink_assert(vc_entry->vc != NULL);
+    ink_assert(jump_point != (HttpSMHandler)NULL);
+    ink_assert(vc_entry->vc != (VConnection *)NULL);
     (this->*jump_point) (event, data);
   } else {
-    ink_assert(default_handler != NULL);
+    ink_assert(default_handler != (HttpSMHandler)NULL);
     (this->*default_handler) (event, data);
   }