fixed popt handling on 64bit boxes in gentest
authorAndrew Tridgell <tridge@samba.org>
Wed, 16 Apr 2008 15:11:21 +0000 (17:11 +0200)
committerAndrew Tridgell <tridge@samba.org>
Wed, 16 Apr 2008 15:11:21 +0000 (17:11 +0200)
(This used to be commit 40c93ffbe9eb09a5b3dc02ba56d28bf50df8ed82)

source4/torture/gentest.c

index d5fc855f175fbd32cc9fb4b10349351b59e8d012..6d872c687b8ec4ad04a12e353721046a3f31d1d1 100644 (file)
 
 /* global options */
 static struct gentest_options {
-       bool showall;
-       bool analyze;
-       bool analyze_always;
-       bool analyze_continuous;
+       int showall;
+       int analyze;
+       int analyze_always;
+       int analyze_continuous;
        uint_t max_open_handles;
        uint_t seed;
        uint_t numops;
-       bool use_oplocks;
+       int use_oplocks;
        char **ignore_patterns;
        const char *seeds_file;
-       bool use_preset_seeds;
-       bool fast_reconnect;
+       int use_preset_seeds;
+       int fast_reconnect;
 } options;
 
 /* mapping between open handles on the server and local handles */