diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-02 22:27:08 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-02 22:27:08 +0200 |
commit | ea0345901cc2af29f9c5dd0d9d8a818d5f96a63b (patch) | |
tree | f5c664ef7870dc540b089f9cf88f308f9c999ed2 /src/gui_mac.c | |
parent | b37662a0fbb952838fca87aff4d26b596030b67b (diff) | |
download | vim-git-ea0345901cc2af29f9c5dd0d9d8a818d5f96a63b.tar.gz |
patch 7.4.1883v7.4.1883
Problem: Cppcheck found 2 incorrect printf formats.
Solution: Use %ld and %lx. (Dominique Pelle)
Diffstat (limited to 'src/gui_mac.c')
-rw-r--r-- | src/gui_mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c index b3f76af70..8990b0566 100644 --- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -5040,7 +5040,7 @@ gui_mch_set_scrollbar_thumb( SetControl32BitValue (sb->id, val); SetControlViewSize (sb->id, size); #ifdef DEBUG_MAC_SB - printf("thumb_sb (%x) %x, %x,%x\n",sb->id, val, size, max); + printf("thumb_sb (%x) %lx, %lx,%lx\n",sb->id, val, size, max); #endif } |