Fix value overflow (one too many 'f's ).
authorJeremy Allison <jra@samba.org>
Thu, 3 Feb 2011 01:47:19 +0000 (17:47 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 3 Feb 2011 02:35:32 +0000 (03:35 +0100)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb  3 03:35:32 CET 2011 on sn-devel-104

source3/winbindd/winbindd_cm.c

index 42f33abf4067fbfbf8c46d4b7157c315a8acc06a..c692ffe75c84ebc2c412e632f66f6fd4bbdbf6e5 100644 (file)
@@ -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);