| To: vim-dev@vim.org |
| Subject: Patch 7.1.232 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.1.232 (after 7.1.207 and 7.1.211) |
| Problem: Compiler warnings with MSVC. |
| Solution: Add type casts. (Mike Williams) |
| Files: src/ex_cmds2.c, src/netbeans.c |
| |
| |
| |
| |
| |
| *** 916,922 **** |
| |
| QueryPerformanceCounter(tm); |
| QueryPerformanceFrequency(&fr); |
| ! tm->QuadPart += (double)msec / 1000.0 * (double)fr.QuadPart; |
| # else |
| long usec; |
| |
| --- 916,922 ---- |
| |
| QueryPerformanceCounter(tm); |
| QueryPerformanceFrequency(&fr); |
| ! tm->QuadPart += (LONGLONG)((double)msec / 1000.0 * (double)fr.QuadPart); |
| # else |
| long usec; |
| |
| |
| |
| |
| *** 1217,1223 **** |
| |
| oldtext = ml_get(lnum); |
| oldlen = STRLEN(oldtext); |
| ! if (first >= oldlen || oldlen == 0) /* just in case */ |
| return; |
| if (lastbyte >= oldlen) |
| lastbyte = oldlen - 1; |
| --- 1217,1223 ---- |
| |
| oldtext = ml_get(lnum); |
| oldlen = STRLEN(oldtext); |
| ! if (first >= (colnr_T)oldlen || oldlen == 0) /* just in case */ |
| return; |
| if (lastbyte >= oldlen) |
| lastbyte = oldlen - 1; |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 232, |
| /**/ |
| |
| -- |
| Why is "abbreviation" such a long word? |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |