From 712ef2590d0ee59a4a659926cdf8aac6e968dfa8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 22 Feb 2011 15:57:21 +0100 Subject: TODO test/review librpc: align nstring and nstring_array to 2 byte metze --- librpc/idl/idl_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'librpc') diff --git a/librpc/idl/idl_types.h b/librpc/idl/idl_types.h index 3c6c12cd84..88ece20afe 100644 --- a/librpc/idl/idl_types.h +++ b/librpc/idl/idl_types.h @@ -12,7 +12,7 @@ /* a null terminated UCS2 string */ -#define nstring [flag(STR_NULLTERM)] string +#define nstring [flag(STR_NULLTERM|NDR_ALIGN2)] string /* an ascii string prefixed with [offset] [length], both 32 bits @@ -50,7 +50,7 @@ /* a null terminated UCS2 string */ -#define nstring_array [flag(STR_NULLTERM)] string_array +#define nstring_array [flag(STR_NULLTERM|NDR_ALIGN2)] string_array #define NDR_NOALIGN LIBNDR_FLAG_NOALIGN #define NDR_REMAINING LIBNDR_FLAG_REMAINING -- cgit