diff options
Diffstat (limited to 'Modules/rotormodule.c')
-rw-r--r-- | Modules/rotormodule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c index f01c5fe..d397e2c 100644 --- a/Modules/rotormodule.c +++ b/Modules/rotormodule.c @@ -154,7 +154,12 @@ static void set_key(r, key) rotorobject *r; char *key; { +#ifdef BUGGY_CODE_BW_COMPAT + /* See comments below */ int k1=995, k2=576, k3=767, k4=671, k5=463; +#else + unsigned long k1=995, k2=576, k3=767, k4=671, k5=463; +#endif int i; int len=strlen(key); for (i=0;i<len;i++) { |