summaryrefslogtreecommitdiff
path: root/libcli/util
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/util')
-rw-r--r--libcli/util/werror.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/util/werror.h b/libcli/util/werror.h
index b49097443e..4c14b7f2b2 100644
--- a/libcli/util/werror.h
+++ b/libcli/util/werror.h
@@ -30,9 +30,9 @@
*/
#if defined(HAVE_IMMEDIATE_STRUCTURES)
-typedef struct {uint32_t v;} WERROR;
+typedef struct {uint32_t w;} WERROR;
#define W_ERROR(x) ((WERROR) { x })
-#define W_ERROR_V(x) ((x).v)
+#define W_ERROR_V(x) ((x).w)
#else
typedef uint32_t WERROR;
#define W_ERROR(x) (x)