Ignore:
Timestamp:
16/03/2009 21:46:03 (3 years ago)
Author:
chris
Message:

Fix type of string position variable to avoid failure (and warning) on
platforms where size_t is signed, e.g. FreeBSD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/httpserver/HTTPRequest.cpp

    r2442 r2453  
    122122                return false; 
    123123        } 
    124 //      TRACE1("Request line: %s\n", requestLine.c_str()); 
     124        BOX_TRACE("Request line: " << requestLine); 
    125125 
    126126        // Check the method 
    127         unsigned int p = 0;     // current position in string 
     127        size_t p = 0;   // current position in string 
    128128        p = requestLine.find(' '); // end of first word 
    129129         
Note: See TracChangeset for help on using the changeset viewer.