summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-03-29 15:18:30 +0000
committerSteve Hay <SteveHay@planit.com>2005-03-29 15:18:30 +0000
commitfe2774edcceb29d7f31eb2b8407d2ab3df896594 (patch)
tree5f9e337ef31aaa5474897b7a94d6eefe9c923d79 /util.c
parent1cb0ed9b77e4ba2e0bcbeb9a897574a0fe3f3e52 (diff)
downloadperl-fe2774edcceb29d7f31eb2b8407d2ab3df896594.tar.gz
Clean-up some warnings when compiling on Win32 with VC++
p4raw-id: //depot/perl@24096
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index ab39df9130..010507d9b0 100644
--- a/util.c
+++ b/util.c
@@ -2816,7 +2816,7 @@ Perl_find_script(pTHX_ const char *scriptname, bool dosearch, const char **searc
if (strEQ(scriptname, "-"))
dosearch = 0;
if (dosearch) { /* Look in '.' first. */
- char *cur = scriptname;
+ const char *cur = scriptname;
#ifdef SEARCH_EXTS
if ((curext = strrchr(scriptname,'.'))) /* possible current ext */
while (ext[i])