pyldb: avoid segfault when adding an element with no name
[nivanova/samba-autobuild/.git] / lib / addns / dnserr.h
index 8638a2d434e67d4d937e6ff7efefdc59cd5c6d76..1eedc8f93ffbe8528758c21bb1d2214571619c28 100644 (file)
 /* Setup the DNS_ERROR typedef.  Technique takes from nt_status.h */
 
 #if defined(HAVE_IMMEDIATE_STRUCTURES)
-typedef struct {uint32 v;} DNS_ERROR;
+typedef struct {uint32_t v;} DNS_ERROR;
 #define ERROR_DNS(x) ((DNS_ERROR) { x })
 #define ERROR_DNS_V(x) ((x).v)
 #else
-typedef uint32 DNS_ERROR;
+typedef uint32_t DNS_ERROR;
 #define ERROR_DNS(x) (x)
 #define ERROR_DNS_V(x) (x)
 #endif