From 9b080901c3bde671eeea11d96f75d4550b4473cb Mon Sep 17 00:00:00 2001 From: didg Date: Mon, 3 Dec 2007 11:59:26 +0000 Subject: [PATCH] use the right number for num charset and max charset, from Hat --- include/atalk/unicode.h | 2 +- libatalk/unicode/charcnv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/atalk/unicode.h b/include/atalk/unicode.h index 9c2a4957..e927b5ee 100644 --- a/include/atalk/unicode.h +++ b/include/atalk/unicode.h @@ -64,7 +64,7 @@ typedef struct { /* this defines the charset types used in samba */ typedef enum {CH_UCS2=0, CH_UTF8=1, CH_MAC=2, CH_UNIX=3, CH_UTF8_MAC=4} charset_t; -#define NUM_CHARSETS 6 +#define NUM_CHARSETS 5 /* * for each charset we have a function that pulls from that charset to diff --git a/libatalk/unicode/charcnv.c b/libatalk/unicode/charcnv.c index 0071c688..f560ad08 100644 --- a/libatalk/unicode/charcnv.c +++ b/libatalk/unicode/charcnv.c @@ -66,7 +66,7 @@ */ -#define MAX_CHARSETS 10 +#define MAX_CHARSETS 20 #define CHECK_FLAGS(a,b) (((a)!=NULL) ? (*(a) & (b)) : 0 ) -- 2.39.2