[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 44/63: system_win32: fix function prototype

From: gnunet
Subject: [GNUnet-SVN] [gnurl] 44/63: system_win32: fix function prototype
Date: Fri, 07 Jun 2019 18:37:06 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 48b9ea43790b48d27fbf226051f2540f762f2923
Author: Gisle Vanem <address@hidden>
AuthorDate: Wed May 29 14:37:10 2019 -0400

    system_win32: fix function prototype
    - Change if_nametoindex parameter type from char * to const char *.
    Follow-up to 09eef8af from this morning.
 lib/system_win32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]