# HG changeset patch # User Adam Chlipala # Date 1264870808 18000 # Node ID 398ed1b89ee715d1195d0f5040c460fa341e9137 # Parent b7118ffd32ae748231b7105108a2ba9c38e02936 Change to satisfy GCC implicit aliasing rules diff -r b7118ffd32ae -r 398ed1b89ee7 src/c/fastcgi.c --- a/src/c/fastcgi.c Sat Jan 30 11:21:26 2010 -0500 +++ b/src/c/fastcgi.c Sat Jan 30 12:00:08 2010 -0500 @@ -336,8 +336,8 @@ if (r->type != FCGI_BEGIN_REQUEST) { write_stderr(out, "First message is not BEGIN_REQUEST\n"); goto done; - } else if (((FCGI_BeginRequestBody *)&r->contentData)->roleB0 != FCGI_RESPONDER) { - write_stderr(out, "First message is not BEGIN_REQUEST\n"); + } else if (r->contentData[1] != FCGI_RESPONDER) { + write_stderr(out, "Request is for a role besides RESPONDER\n"); goto done; }