aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2023-10-29 23:05:54 +0000
committerGerald Combs <gerald@wireshark.org>2023-10-30 09:37:29 +0000
commit8f28a0e9f3ccae8d745f0074cb214575169d686d (patch)
tree793f6f058d6e65dd0194b2c1ca475965ab1cbba8 /doc
parent6f5fd697d9fef5478d28261d78e80ab52efd8d51 (diff)
plugins: Make flags unsigned
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins.example/hello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/plugins.example/hello.c b/doc/plugins.example/hello.c
index 9f369ab8e4..39d7ae4a03 100644
--- a/doc/plugins.example/hello.c
+++ b/doc/plugins.example/hello.c
@@ -22,7 +22,7 @@ WS_DLL_PUBLIC_DEF const int plugin_want_major = WIRESHARK_VERSION_MAJOR;
WS_DLL_PUBLIC_DEF const int plugin_want_minor = WIRESHARK_VERSION_MINOR;
WS_DLL_PUBLIC void plugin_register(void);
-WS_DLL_PUBLIC int plugin_describe(void);
+WS_DLL_PUBLIC uint32_t plugin_describe(void);
static int proto_hello = -1;
static dissector_handle_t handle_hello;
@@ -58,7 +58,7 @@ plugin_register(void)
proto_register_plugin(&plug);
}
-int
+uint32_t
plugin_describe(void)
{
return WS_PLUGIN_DESC_DISSECTOR;