summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/winreg.idl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl
index c7dc3942df..263946bdda 100644
--- a/source4/librpc/idl/winreg.idl
+++ b/source4/librpc/idl/winreg.idl
@@ -10,8 +10,8 @@
] interface winreg
{
typedef struct {
- [value(2*(strlen_m(r->name)+1))] uint16 name_len;
- [value(r->name_len)] uint16 name_size;
+ [value(strlen_m_term(r->name)*2)] uint16 name_len;
+ [value(r->name_len)] uint16 name_size;
unistr *name;
} winreg_String;