mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:20:38 +00:00
A bunch of format string fixes and some casts to force formats
No objections from Fred Kiefer ;) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38569 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
18910829e4
commit
6d5a0cc236
11 changed files with 64 additions and 52 deletions
|
@ -287,7 +287,7 @@ NSString *GSMovableToolbarItemPboardType = @"GSMovableToolbarItemPboardType";
|
|||
index = [toolbar _indexOfItem: _toolbarItem];
|
||||
}
|
||||
[GSToolbarView setDraggedItemIndex:index];
|
||||
[pboard setString: [NSString stringWithFormat:@"%d", index]
|
||||
[pboard setString: [NSString stringWithFormat:@"%ld", (long) index]
|
||||
forType: GSMovableToolbarItemPboardType];
|
||||
|
||||
[self dragImage: image
|
||||
|
@ -777,7 +777,7 @@ NSString *GSMovableToolbarItemPboardType = @"GSMovableToolbarItemPboardType";
|
|||
index = [toolbar _indexOfItem: _toolbarItem];
|
||||
}
|
||||
[GSToolbarView setDraggedItemIndex:index];
|
||||
[pboard setString: [NSString stringWithFormat:@"%d", index]
|
||||
[pboard setString: [NSString stringWithFormat:@"%ld", (long) index]
|
||||
forType: GSMovableToolbarItemPboardType];
|
||||
|
||||
[self dragImage: image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue