summaryrefslogtreecommitdiff
path: root/isam
diff options
context:
space:
mode:
Diffstat (limited to 'isam')
-rw-r--r--isam/create.c5
-rw-r--r--isam/pack_isam.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/isam/create.c b/isam/create.c
index c59b20d8b0c..fcf54ddc731 100644
--- a/isam/create.c
+++ b/isam/create.c
@@ -259,8 +259,9 @@ int nisam_create(const char *name,uint keys,N_KEYDEF *keyinfo,
(pointer == 3 && reclength >= 256L) ? (ulong) NI_POS_ERROR :
((ulong) reclength * (1L << (pointer*8)));
share.base.max_key_file_length= (share.base.key_reflength == 3 ?
- NI_POS_ERROR :
- (1L << (share.base.key_reflength*8))*512);
+ NI_POS_ERROR :
+ (ulong)
+ (1L << (share.base.key_reflength*8))*512);
share.base.min_block_length=
(share.base.pack_reclength+3 < N_EXTEND_BLOCK_LENGTH &&
! share.base.blobs) ?
diff --git a/isam/pack_isam.c b/isam/pack_isam.c
index c2cbb72cf74..3d8512847ae 100644
--- a/isam/pack_isam.c
+++ b/isam/pack_isam.c
@@ -288,7 +288,7 @@ static void usage(void)
-?, --help display this help and exit\n\
-V, --version output version information and exit\n");
print_defaults("my",load_default_groups);
-};
+}
/* reads options */
/* Initiates DEBUG - but no debugging here ! */