summaryrefslogtreecommitdiff
path: root/source/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-27 04:37:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:49 -0500
commit7579a91f81a43f570987fecca03c19f559887685 (patch)
treed90952176392078011f92712ee72ad1ed0299acb /source/libads
parente7e3e35c1def29430dc69d3311d5779575659ec5 (diff)
downloadsamba-7579a91f81a43f570987fecca03c19f559887685.tar.gz
r18941: Minor cleanup in ads_parse_gpo().
Guenther
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/gpo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libads/gpo.c b/source/libads/gpo.c
index 15ff54854cd..4a121e9f6a3 100644
--- a/source/libads/gpo.c
+++ b/source/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)) {