Commit ff861776 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(swedish_collate_tab, english_collate_tab): Use unsigned char, not

	signed char, to get rid of a warning from SparcWorks 5.1 under
	Solaris 2.4.
parent 5ebf84d8
/*
* $Id: s-collat-tabs.c,v 1.16 2002/03/29 22:38:08 ceder Exp $
* $Id: s-collat-tabs.c,v 1.17 2002/08/22 21:32:49 ceder Exp $
* Copyright (C) 1990-1991, 1993-1995, 1998-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -64,7 +64,8 @@
* swedish_collate_tab is now in ISO-8859-1.
*/
char swedish_collate_tab [ COLLAT_TAB_SIZE ] =
unsigned char
swedish_collate_tab [ COLLAT_TAB_SIZE ] =
{
/* NU SH SX EX ET EQ AK BL */
0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007,
......@@ -182,7 +183,8 @@ char swedish_collate_tab [ COLLAT_TAB_SIZE ] =
char english_collate_tab [ COLLAT_TAB_SIZE ] =
unsigned char
english_collate_tab [ COLLAT_TAB_SIZE ] =
{
'\000', '\001', '\002', '\003', '\004', '\005', '\006', '\007',
'\010', '\011', '\012', '\013', '\014', '\015', '\016', '\017',
......
/*
* $Id: s-collat-tabs.h,v 1.8 1999/05/24 09:38:25 ceder Exp $
* $Id: s-collat-tabs.h,v 1.9 2002/08/22 21:32:49 ceder Exp $
* Copyright (C) 1990-1991, 1993-1995, 1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: s-collat-tabs.h,v 1.8 1999/05/24 09:38:25 ceder Exp $
* $Id: s-collat-tabs.h,v 1.9 2002/08/22 21:32:49 ceder Exp $
*
* s-collat-tables.h -- Declarations for collating tables
*
......@@ -52,8 +52,8 @@
#define COLLAT_TAB_SIZE (UCHAR_MAX+1)
extern char swedish_collate_tab [ COLLAT_TAB_SIZE ];
extern char english_collate_tab [ COLLAT_TAB_SIZE ];
extern unsigned char swedish_collate_tab [ COLLAT_TAB_SIZE ];
extern unsigned char english_collate_tab [ COLLAT_TAB_SIZE ];
#if 0
extern char iso8859_1_collate_tab [ COLLAT_TAB_SIZE ];
extern unsigned char iso8859_1_collate_tab [ COLLAT_TAB_SIZE ];
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment