]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.128
- new
[packages/vim.git] / 7.3.128
CommitLineData
7fd9e930
ER
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.128
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.128
11Problem: Another compiler warning for signed pointer.
12Solution: Use unsigned int argument for sscanf().
13Files: 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--
49FATHER: Who are you?
50PRINCE: I'm ... your son ...
51FATHER: Not you.
52LAUNCELOT: 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 ///
This page took 0.137314 seconds and 4 git commands to generate.