From 48b9ea43790b48d27fbf226051f2540f762f2923 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Wed, 29 May 2019 14:37:10 -0400 Subject: 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 --- lib/system_win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3