From: Florian Ragwitz Date: Sat, 18 Apr 2009 08:42:13 +0000 (+0000) Subject: Don't compare signed to unsigned. X-Git-Tag: 0.005000~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=19b277fc6a9de2368510e30c8acfb1a331d15d4d;p=p5sagit%2FDevel-Declare.git Don't compare signed to unsigned. --- diff --git a/Declare.xs b/Declare.xs index 08bbec6..c0c7d7b 100644 --- a/Declare.xs +++ b/Declare.xs @@ -187,7 +187,7 @@ int dd_toke_scan_ident(pTHX_ int offset) { } int dd_toke_scan_str(pTHX_ int offset) { - int remaining = sv_len(PL_linestr) - offset; + STRLEN remaining = sv_len(PL_linestr) - offset; SV* line_copy = newSVsv(PL_linestr); char* base_s = SvPVX(PL_linestr) + offset; char* s = scan_str(base_s, FALSE, FALSE);