]> git.ipfire.org Git - ipfire-3.x.git/blob - vim/patches/vim-7.3.128.patch0
d44386882e546b88b5940f3af122a122c727f4c4
[ipfire-3.x.git] / vim / patches / vim-7.3.128.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.128
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.128
11 Problem: Another compiler warning for signed pointer.
12 Solution: Use unsigned int argument for sscanf().
13 Files: src/mark.c
14
15
16 *** ../vim-7.3.127/src/mark.c 2010-08-15 21:57:25.000000000 +0200
17 --- src/mark.c 2010-12-17 20:00:05.000000000 +0100
18 ***************
19 *** 1750,1756 ****
20 {
21 if (line[1] != NUL)
22 {
23 ! sscanf((char *)line + 2, "%ld %u", &pos.lnum, &pos.col);
24 switch (line[1])
25 {
26 case '"': curbuf->b_last_cursor = pos; break;
27 --- 1750,1759 ----
28 {
29 if (line[1] != NUL)
30 {
31 ! unsigned u;
32 !
33 ! sscanf((char *)line + 2, "%ld %u", &pos.lnum, &u);
34 ! pos.col = u;
35 switch (line[1])
36 {
37 case '"': curbuf->b_last_cursor = pos; break;
38 *** ../vim-7.3.127/src/version.c 2011-02-25 14:46:06.000000000 +0100
39 --- src/version.c 2011-02-25 15:10:34.000000000 +0100
40 ***************
41 *** 716,717 ****
42 --- 716,719 ----
43 { /* Add new patch number below this line */
44 + /**/
45 + 128,
46 /**/
47
48 --
49 FATHER: Who are you?
50 PRINCE: I'm ... your son ...
51 FATHER: Not you.
52 LAUNCELOT: I'm ... er ... Sir Launcelot, sir.
53 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
54
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57 \\\ an exciting new programming language -- http://www.Zimbu.org ///
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///