Fix cast warning (char* -> unsigned char*) in mod_fastcgi

personal/stbuehler/wip
Stefan Bühler 14 years ago
parent c584da22db
commit 050d0d60d6
  1. 2
      src/modules/mod_fastcgi.c

@ -470,7 +470,7 @@ static gboolean fastcgi_get_packet(fastcgi_connection *fcon) {
gint len;
if (!chunkqueue_extract_to(fcon->vr, fcon->fcgi_in, FCGI_HEADER_LEN, fcon->buf_in_record)) return FALSE; /* need more data */
data = fcon->buf_in_record->str;
data = (const unsigned char*) fcon->buf_in_record->str;
fcon->fcgi_in_record.version = data[0];
fcon->fcgi_in_record.type = data[1];
fcon->fcgi_in_record.requestID = (data[2] << 8) | (data[3]);

Loading…
Cancel
Save