From f05880b7f0510968f2ceda2dc5860b2c223263bc Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 9 Nov 2005 17:48:11 +0000 Subject: [PATCH] Use int rather than short for bit field --- src/charconv.tcl | 4 ++-- src/srwutil.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/charconv.tcl b/src/charconv.tcl index 6ffdd65..95a18a3 100755 --- a/src/charconv.tcl +++ b/src/charconv.tcl @@ -2,7 +2,7 @@ # the next line restats using tclsh \ exec tclsh "$0" "$@" # -# $Id: charconv.tcl,v 1.9 2005-11-06 01:55:06 adam Exp $ +# $Id: charconv.tcl,v 1.10 2005-11-09 17:48:11 adam Exp $ proc usage {} { puts {charconv.tcl: [-p prefix] [-s split] [-o ofile] file ... } @@ -22,7 +22,7 @@ proc preamble_trie {ofilehandle} { $totype to : 24; }; struct yaz_iconv_trie_dir { - short ptr : 15; + int ptr : 15; unsigned combining : 1; $totype to : 24; }; diff --git a/src/srwutil.c b/src/srwutil.c index 27840ce..4fd23f1 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: srwutil.c,v 1.32 2005-11-08 15:08:03 adam Exp $ + * $Id: srwutil.c,v 1.33 2005-11-09 17:48:11 adam Exp $ */ /** * \file srwutil.c @@ -763,7 +763,7 @@ static int srw_bib1_map[] = { 219, 1, /* bad map */ 220, 1, /* bad map */ 221, 1, /* bad map */ - 222, 1, /* bad map */ + 222, 3, 223, 1, /* bad map */ 224, 1, /* bad map */ 225, 1, /* bad map */ -- 1.7.10.4