Skip to content

Commit 07ea51a

Browse files
committed
Merge pull request #82 from jpetrie/format-specifier-warning
Use %hhd for BOOLs in format string.
2 parents 3142962 + 61559a4 commit 07ea51a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MacVim/MMAppController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ - (IBAction)ligaturesButtonClicked:(id)sender
12391239
kCFPreferencesCurrentApplication);
12401240
CFPreferencesAppSynchronize(kCFPreferencesCurrentApplication);
12411241

1242-
ASLogInfo(@"Use ligatures=%ld", enable);
1242+
ASLogInfo(@"Use ligatures=%hhd", enable);
12431243

12441244
// This action is called when the user clicks the "enable support for ligatures"
12451245
// button in the advanced preferences pane.

0 commit comments

Comments
 (0)