From 2e1fc7f286dab8389ff7de41da3b151ebecf5b54 Mon Sep 17 00:00:00 2001 From: Sebastian Reitenbach Date: Fri, 30 May 2014 12:32:21 +0000 Subject: [PATCH] * Palettes/2Controls/GormFormAttributesInspector.m fix some format string warnings git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37926 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 2 ++ Palettes/2Controls/GormFormAttributesInspector.m | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b922491a..63b055f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2014-05-30 Sebastian Reitenbach * Palettes/2Controls/GormColorWellAttributesInspector.h fix typo in header guard + * Palettes/2Controls/GormFormAttributesInspector.m + fix some format string warnings 2014-05-28 Riccardo Mottola diff --git a/Palettes/2Controls/GormFormAttributesInspector.m b/Palettes/2Controls/GormFormAttributesInspector.m index 8f478c08..8fc268a4 100644 --- a/Palettes/2Controls/GormFormAttributesInspector.m +++ b/Palettes/2Controls/GormFormAttributesInspector.m @@ -181,7 +181,7 @@ NSUInteger numberStepperValue; } else { - [object addEntry: [NSString stringWithFormat: @"Field (%i)", rows]]; + [object addEntry: [NSString stringWithFormat: @"Field (%ld)", (long)rows]]; } } cell.height = (rect.size.height + inter.height) / fields - inter.height; @@ -199,7 +199,7 @@ NSUInteger numberStepperValue; while(delta > 0) { - [object addEntry: [NSString stringWithFormat: @"Field (%i)", rows]]; + [object addEntry: [NSString stringWithFormat: @"Field (%ld)", (long)rows]]; delta--; rows++; }