r18855: Tell the diff between WERROR and NTSTATUS
authorVolker Lendecke <vlendec@samba.org>
Sat, 23 Sep 2006 21:27:48 +0000 (21:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:01:05 +0000 (12:01 -0500)
Volker
(This used to be commit 5cc4117692572f086b44324949546463681b837e)

source3/include/nt_status.h

index 2b681101db6a72dd62d3d1baa5bd4fbfe4b2dfce..968657ca44f7044e61d2cba3ec473dd4d7b3ef42 100644 (file)
@@ -45,9 +45,9 @@ typedef uint32 NTSTATUS;
 #endif
 
 #if defined(HAVE_IMMEDIATE_STRUCTURES)
-typedef struct {uint32 v;} WERROR;
+typedef struct {uint32 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 WERROR;
 #define W_ERROR(x) (x)