
26 Jun
2005
26 Jun
'05
12:34 p.m.
Joel de Guzman wrote:
Well, since this is an easy one...
Try changing rule_t test_hit = range_p(0x80, 0x7F); to rule_t test_hit = range_p(char(0x80), char(0x7F));
Why? Because range_p(0x80, 0x7F) returns a range<int>, not a range<char> that you are expecting.
Regards,
Yeah, it's even a little obvious, now that you pointed it out. Thanks! I'll keep the spirit list in mind for a next time. -- Pedro LamarĂ£o