#ifdef HAVE_LIBMHASH
default:
- if ((mode < 0) || (mode > mhash_count()) || (!(ctx = mhash_init(mode)))) {
+ if ((mode < 0) || ((ulong)mode > mhash_count()) || (!(ctx = mhash_init(mode)))) {
http_error_ex(HE_ERROR, HE_RUNTIME, "Invalid ETag mode: %ld", mode);
}
break;