summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-02 17:47:19 -0800
committerJeremy Allison <jra@samba.org>2011-02-03 03:35:32 +0100
commit3b4738b2fdedabb158282ff2cba13f1c2c898890 (patch)
tree69140945ebd207c41e1868fef13afca6040fb212 /source3/winbindd
parent91e1c8dc383757c3ff0e67c499db4b11242f5800 (diff)
downloadsamba-3b4738b2fdedabb158282ff2cba13f1c2c898890.tar.gz
samba-3b4738b2fdedabb158282ff2cba13f1c2c898890.tar.bz2
samba-3b4738b2fdedabb158282ff2cba13f1c2c898890.zip
Fix value overflow (one too many 'f's ).
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 3 03:35:32 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 42f33abf40..c692ffe75c 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -1450,7 +1450,7 @@ static void store_current_dc_in_gencache(const char *domain_name,
goto done;
}
- gencache_set(key, value, 0x7ffffffff);
+ gencache_set(key, value, 0x7fffffff);
done:
TALLOC_FREE(value);
TALLOC_FREE(key);