summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libads/gpo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/gpo.c b/source3/libads/gpo.c
index 15ff54854c..4a121e9f6a 100644
--- a/source3/libads/gpo.c
+++ b/source3/libads/gpo.c
@@ -392,8 +392,8 @@ ADS_STATUS ads_delete_gpo_link(ADS_STRUCT *ads,
}
/* split here for convenience */
- gpo->version_user = gpo->version >> 16;
- gpo->version_machine = gpo->version & 0xffff;
+ gpo->version_user = GPO_VERSION_USER(gpo->version);
+ gpo->version_machine = GPO_VERSION_MACHINE(gpo->version);
/* sure ??? */
if (!ads_pull_uint32(ads, res, "flags", &gpo->options)) {