Modified: MacRuby/trunk/ext/libyaml/rubyext.c (4537 => 4538)
--- MacRuby/trunk/ext/libyaml/rubyext.c 2010-09-24 08:32:18 UTC (rev 4537)
+++ MacRuby/trunk/ext/libyaml/rubyext.c 2010-09-24 21:46:41 UTC (rev 4538)
@@ -167,14 +167,14 @@
if (parser->problem != NULL) {
if (parser->context != NULL) {
asprintf(&msg,
- "%s error encountered during parsing: %s (line %d, column %d), context %s (line %d, column %d)",
+ "%s error encountered during parsing: %s (line %ld, column %ld), context %s (line %ld, column %ld)",
descriptor, parser->problem, parser->problem_mark.line,
parser->problem_mark.column, parser->context,
parser->context_mark.line, parser->context_mark.column);
}
else {
asprintf(&msg,
- "%s error encountered during parsing: %s (line %d, column %d)",
+ "%s error encountered during parsing: %s (line %ld, column %ld)",
descriptor, parser->problem, parser->problem_mark.line,
parser->problem_mark.column);
}