mirror of
https://github.com/curl/curl.git
synced 2026-07-24 02:47:17 +03:00
system_win32: fix function prototype
- Change if_nametoindex parameter type from char * to const char *. Follow-up to09eef8affrom this morning. Bug:09eef8af (r33716067)
This commit is contained in:
parent
6da44edfd2
commit
48b9ea4379
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue