[macruby-changes] [4538] MacRuby/trunk/ext/libyaml/rubyext.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 24 14:46:43 PDT 2010
Revision: 4538
http://trac.macosforge.org/projects/ruby/changeset/4538
Author: lsansonetti at apple.com
Date: 2010-09-24 14:46:41 -0700 (Fri, 24 Sep 2010)
Log Message:
-----------
fix compilation warnings
Modified Paths:
--------------
MacRuby/trunk/ext/libyaml/rubyext.c
Modified: MacRuby/trunk/ext/libyaml/rubyext.c
===================================================================
--- 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);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100924/3caf1419/attachment.html>
More information about the macruby-changes
mailing list