Mercurial > vim
comparison src/if_cscope.c @ 2875:c7d942260772 v7.3.211
updated for version 7.3.211
Problem: Compiler warning.
Solution: Add type cast.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 12 Jun 2011 21:25:00 +0200 |
parents | eeb1ac4f66d1 |
children | 04736b4030ec |
comparison
equal
deleted
inserted
replaced
2874:2bc415af66aa | 2875:c7d942260772 |
---|---|
2516 else if (csdir != NULL && csinfo[i].fname != NULL && STRLEN(csdir) > 0) | 2516 else if (csdir != NULL && csinfo[i].fname != NULL && STRLEN(csdir) > 0) |
2517 { | 2517 { |
2518 /* Check for csdir to be non empty to avoid empty path concatenated to | 2518 /* Check for csdir to be non empty to avoid empty path concatenated to |
2519 * cscope output. TODO: avoid the unnecessary alloc/free of fullname. */ | 2519 * cscope output. TODO: avoid the unnecessary alloc/free of fullname. */ |
2520 vim_free(fullname); | 2520 vim_free(fullname); |
2521 fullname = concat_fnames(csdir, (char_u *)name, TRUE); | 2521 fullname = (char *)concat_fnames(csdir, (char_u *)name, TRUE); |
2522 } | 2522 } |
2523 else | 2523 else |
2524 (void)sprintf(fullname, "%s", name); | 2524 (void)sprintf(fullname, "%s", name); |
2525 | 2525 |
2526 vim_free(csdir); | 2526 vim_free(csdir); |