aboutsummaryrefslogtreecommitdiffstats
path: root/api/wintun.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-11-03 11:00:53 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-03 11:01:20 +0100
commit64f39cd95d16342f3adb092cdf060e8e989b213a (patch)
tree2986602c1765526b9dccc0f6897a41d3976dd167 /api/wintun.h
parentexample: remove extra argument from print (diff)
downloadwintun-64f39cd95d16342f3adb092cdf060e8e989b213a.tar.xz
wintun-64f39cd95d16342f3adb092cdf060e8e989b213a.zip
api: only return top two version nibbles
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/wintun.h')
-rw-r--r--api/wintun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/wintun.h b/api/wintun.h
index 09d53b2..d6b8444 100644
--- a/api/wintun.h
+++ b/api/wintun.h
@@ -190,7 +190,7 @@ typedef WINTUN_STATUS(
*
* @return The version number on success, or 0 if failure or Wintun not loaded.
*/
-typedef DWORDLONG(WINAPI *WINTUN_GET_VERSION_FUNC)(void);
+typedef DWORD(WINAPI *WINTUN_GET_VERSION_FUNC)(void);
typedef enum _WINTUN_LOGGER_LEVEL
{