aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/fhandler/netdrive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler/netdrive.cc b/winsup/cygwin/fhandler/netdrive.cc
index d8dda4c..5bcca53 100644
--- a/winsup/cygwin/fhandler/netdrive.cc
+++ b/winsup/cygwin/fhandler/netdrive.cc
@@ -72,7 +72,7 @@ public:
free (entry);
}
size_t count () const { return num_entries; }
- void add (wchar_t *str, bool downcase = false)
+ void add (const wchar_t *str, bool downcase = false)
{
if (num_entries >= max_entries)
{