Author: buzzdee
Date: Tue May 26 19:17:16 2015
New Revision: 38570
URL: http://svn.gna.org/viewcvs/gnustep?rev=38570&view=rev
Log:
Missed in last commit of format string fixes
Modified:
libs/gui/trunk/ChangeLog
libs/gui/trunk/TextConverters/RTF/RTFConsumer.m
Modified: libs/gui/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/ChangeLog?rev=38570&r1=38569&r2=38570&view=diff
==============================================================================
--- libs/gui/trunk/ChangeLog (original)
+++ libs/gui/trunk/ChangeLog Tue May 26 19:17:16 2015
@@ -18,6 +18,7 @@
* Source/GSXibLoader.m
* Source/NSSplitView.m
* Model/GMArchiver.m
+ * TextConverters/RTF/RTFConsumer.m
Format string fixes and casts
2015-05-22 Fred Kiefer <[email protected]>
Modified: libs/gui/trunk/TextConverters/RTF/RTFConsumer.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/TextConverters/RTF/RTFConsumer.m?rev=38570&r1=38569&r2=38570&view=diff
==============================================================================
--- libs/gui/trunk/TextConverters/RTF/RTFConsumer.m (original)
+++ libs/gui/trunk/TextConverters/RTF/RTFConsumer.m Tue May 26 19:17:16 2015
@@ -941,8 +941,8 @@
if (!fontName || !*fontName)
{
[NSException raise: NSInvalidArgumentException
- format: @"Error in RTF (font omitted?), position:%d",
- TEXTPOSITION];
+ format: @"Error in RTF (font omitted?), position:%lu",
+ (unsigned long) TEXTPOSITION];
}
// exclude trailing ';' from fontName
if (';' == fontName[strlen(fontName)-1])
@@ -967,9 +967,9 @@
{
/* we're about to set an unknown font */
[NSException raise: NSInvalidArgumentException
- format: @"Error in RTF (referring to undefined font \\f%d),
position:%d",
+ format: @"Error in RTF (referring to undefined font \\f%d),
position:%lu",
fontNumber,
- TEXTPOSITION];
+ (unsigned long) TEXTPOSITION];
}
else
{
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs