Skip to content
Browse files

Added casting to remove a warning when calling strlen().

git-svn-id: https://ctags.svn.sourceforge.net/svnroot/ctags/trunk@485 c5d04d22-be80-434c-894e-aa346cc9e8e8
  • Loading branch information...
1 parent 759b514 commit 2120e3d3ee471f1eb4e6e4edebdb5de7d56d3c71 dfishburn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 vim.c
View
2 vim.c
@@ -90,7 +90,7 @@ static const unsigned char* skipPrefix (const unsigned char* name, int *scope)
const unsigned char* result = name;
int counter;
size_t length;
- length = strlen(name);
+ length = strlen((const char*)name);
if (scope != NULL)
*scope = '\0';
if (length > 3 && name[1] == ':')

0 comments on commit 2120e3d

Please sign in to comment.
Something went wrong with that request. Please try again.