One of 2 fixes to quell a compiler warning. According to fanf@apache.org
> Before C99 the correct way to print a size_t is to use %lu, since > long was guaranteed to be the widest integral type, so redoing the > fix on that basis would be better. However with C99 size_t can be > as wide as unsigned long long so you need to use that format to > be safe, but then you compromise portability. So options; simply cast to (int) as I know the value is small; use %lu without a cast - but get warnings later on >C99. Or kind of the compromize below; do %lu but cast to be sure. Feel free to patch in a better fix ! Dw PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91360 13f79535-47bb-0310-9956-ffa450edef68
parent
cbd3842a
Please register or sign in to comment