lib: use differing NTSTATUS and WERROR struct members
[mat/samba.git] / libcli / util / werror.h
index b49097443ec547721088dd6596858b4939b01f13..4c14b7f2b20cc764115b51590be6f46be7347b94 100644 (file)
@@ -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)