comparison src/ops.c @ 5475:9334c994be7b v7.4.087

updated for version 7.4.087 Problem: Compiler warning on 64 bit Windows systems. Solution: Fix type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Mon, 11 Nov 2013 23:17:39 +0100
parents 70c3289803b3
children 93c8296281dd
comparison
equal deleted inserted replaced
5474:f6940759212d 5475:9334c994be7b
2191 } 2191 }
2192 } 2192 }
2193 else 2193 else
2194 { 2194 {
2195 /* Replacing with \r or \n means splitting the line. */ 2195 /* Replacing with \r or \n means splitting the line. */
2196 after_p = alloc_check((unsigned)oldlen + 1 + n - STRLEN(newp)); 2196 after_p = alloc_check(
2197 (unsigned)(oldlen + 1 + n - STRLEN(newp)));
2197 if (after_p != NULL) 2198 if (after_p != NULL)
2198 STRMOVE(after_p, oldp); 2199 STRMOVE(after_p, oldp);
2199 } 2200 }
2200 /* replace the line */ 2201 /* replace the line */
2201 ml_replace(curwin->w_cursor.lnum, newp, FALSE); 2202 ml_replace(curwin->w_cursor.lnum, newp, FALSE);