]>
Commit | Line | Data |
---|---|---|
d57b4abe ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.232 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.232 (after 7.1.207 and 7.1.211) | |
11 | Problem: Compiler warnings with MSVC. | |
12 | Solution: Add type casts. (Mike Williams) | |
13 | Files: src/ex_cmds2.c, src/netbeans.c | |
14 | ||
15 | ||
16 | *** ../vim-7.1.231/src/ex_cmds2.c Tue Jan 15 22:16:36 2008 | |
17 | --- src/ex_cmds2.c Tue Jan 15 20:41:28 2008 | |
18 | *************** | |
19 | *** 916,922 **** | |
20 | ||
21 | QueryPerformanceCounter(tm); | |
22 | QueryPerformanceFrequency(&fr); | |
23 | ! tm->QuadPart += (double)msec / 1000.0 * (double)fr.QuadPart; | |
24 | # else | |
25 | long usec; | |
26 | ||
27 | --- 916,922 ---- | |
28 | ||
29 | QueryPerformanceCounter(tm); | |
30 | QueryPerformanceFrequency(&fr); | |
31 | ! tm->QuadPart += (LONGLONG)((double)msec / 1000.0 * (double)fr.QuadPart); | |
32 | # else | |
33 | long usec; | |
34 | ||
35 | *** ../vim-7.1.231/src/netbeans.c Sat Jan 5 18:06:33 2008 | |
36 | --- src/netbeans.c Mon Jan 14 21:11:02 2008 | |
37 | *************** | |
38 | *** 1217,1223 **** | |
39 | ||
40 | oldtext = ml_get(lnum); | |
41 | oldlen = STRLEN(oldtext); | |
42 | ! if (first >= oldlen || oldlen == 0) /* just in case */ | |
43 | return; | |
44 | if (lastbyte >= oldlen) | |
45 | lastbyte = oldlen - 1; | |
46 | --- 1217,1223 ---- | |
47 | ||
48 | oldtext = ml_get(lnum); | |
49 | oldlen = STRLEN(oldtext); | |
50 | ! if (first >= (colnr_T)oldlen || oldlen == 0) /* just in case */ | |
51 | return; | |
52 | if (lastbyte >= oldlen) | |
53 | lastbyte = oldlen - 1; | |
54 | *** ../vim-7.1.231/src/version.c Wed Jan 16 20:01:14 2008 | |
55 | --- src/version.c Fri Jan 18 11:38:39 2008 | |
56 | *************** | |
57 | *** 668,669 **** | |
58 | --- 668,671 ---- | |
59 | { /* Add new patch number below this line */ | |
60 | + /**/ | |
61 | + 232, | |
62 | /**/ | |
63 | ||
64 | -- | |
65 | Why is "abbreviation" such a long word? | |
66 | ||
67 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
68 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
69 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
70 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |