summaryrefslogtreecommitdiff
path: root/src/coding.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2009-02-22 15:48:02 +0000
committerAndreas Schwab <schwab@suse.de>2009-02-22 15:48:02 +0000
commit36257ccbb9ccf611689a513096c7656f484059e3 (patch)
tree10bd0e779fa1d924beb3f69f97417199e6b5712c /src/coding.h
parent3f34d5af66316b15c7b45361a17982577d788d7e (diff)
downloademacs-36257ccbb9ccf611689a513096c7656f484059e3.tar.gz
* coding.h (struct coding_system): Make safe_charsets a pointer to
unsigned char. * coding.c (CODING_ISO_REQUEST): Check for safe_charsets content being 255. (SAFE_CHARSET_P): Likewise. (setup_iso_safe_charsets): Properly setup safe_charsets. (Fdefine_coding_system_internal): Likewise. (setup_coding_system): Likewise. Remove unneeded casts. (detect_coding_iso_2022): Compare Viso_2022_charset_list with CODING_ATTR_CHARSET_LIST, not CODING_ATTR_SAFE_CHARSETS. Remove unneeded casts.
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h
index 544dd44bb93..3daf4a725f2 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -391,7 +391,7 @@ struct coding_system
} spec;
int max_charset_id;
- char *safe_charsets;
+ unsigned char *safe_charsets;
/* The following two members specify how binary 8-bit code 128..255
are represented in source and destination text respectively. 1