Mercurial > vim
comparison src/os_mswin.c @ 12015:7e704d75a882 v8.0.0888
patch 8.0.0888: compiler warnings with 64 bit build
commit https://github.com/vim/vim/commit/116a0f800c6a62e29c5af832df092507f1355c68
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 7 21:17:57 2017 +0200
patch 8.0.0888: compiler warnings with 64 bit build
Problem: Compiler warnings with 64 bit build.
Solution: Add type cast of change the type. (Mike Williams)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 07 Aug 2017 21:30:05 +0200 |
parents | 15ec6d5adf43 |
children | ee070a5eb3a0 |
comparison
equal
deleted
inserted
replaced
12014:72a274bcae6b | 12015:7e704d75a882 |
---|---|
451 if (path_with_url(p)) | 451 if (path_with_url(p)) |
452 return; | 452 return; |
453 | 453 |
454 if (*p == '`') | 454 if (*p == '`') |
455 { | 455 { |
456 size_t len = STRLEN(p); | |
457 | |
456 /* don't replace backslash in backtick quoted strings */ | 458 /* don't replace backslash in backtick quoted strings */ |
457 int len = STRLEN(p); | |
458 if (len > 2 && *(p + len - 1) == '`') | 459 if (len > 2 && *(p + len - 1) == '`') |
459 return; | 460 return; |
460 } | 461 } |
461 | 462 |
462 while (*p) | 463 while (*p) |