# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #28898]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=28898 >
cc: Warning: src/string_primitives.c, line 149: In this statement, the
referenced type of the pointer value "offset" is "unsigned int", which
is not compatible with "int" because they differ by signed/unsigned
attribute. (ptrmismatch1)
return u_unescapeAt(cb, offset, input_length, string);
----------------------------^
--
Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen
--- src/string_primitives.c.dist 2004-04-17 12:35:50.000000000 +0300
+++ src/string_primitives.c 2004-04-17 12:44:53.000000000 +0300
@@ -146,7 +146,7 @@
string_unescape_one(Parrot_unescape_cb cb, Parrot_UInt4 *offset,
Parrot_UInt4 input_length, void *string)
{
- return u_unescapeAt(cb, offset, input_length, string);
+ return u_unescapeAt(cb, (int32_t*) offset, input_length, string);
}
/*