diff options
author | Gisle Vanem <gisle.vanem@gmail.com> | 2019-05-29 14:37:10 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2019-05-29 14:37:39 -0400 |
commit | 48b9ea43790b48d27fbf226051f2540f762f2923 (patch) | |
tree | e551274b3eabea3cf32a1819180e5b816951126f /lib/system_win32.h | |
parent | 6da44edfd2a55e61c7271df1f1a05868670145b1 (diff) | |
download | curl-48b9ea43790b48d27fbf226051f2540f762f2923.tar.gz |
system_win32: fix function prototype
- Change if_nametoindex parameter type from char * to const char *.
Follow-up to 09eef8af from this morning.
Bug: https://github.com/curl/curl/commit/09eef8af#r33716067
Diffstat (limited to 'lib/system_win32.h')
-rw-r--r-- | lib/system_win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system_win32.h b/lib/system_win32.h index 95f4af8a7..c07cf1fb7 100644 --- a/lib/system_win32.h +++ b/lib/system_win32.h @@ -49,7 +49,7 @@ typedef enum { } PlatformIdentifier; /* We use our own typedef here since some headers might lack this */ -typedef unsigned int(WINAPI *IF_NAMETOINDEX_FN)(char *); +typedef unsigned int(WINAPI *IF_NAMETOINDEX_FN)(const char *); /* This is used instread of if_nametoindex if available on Windows */ IF_NAMETOINDEX_FN Curl_if_nametoindex; |