mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 21:24:59 +00:00
Fix Apache warnings
This commit is contained in:
parent
0333ca86c4
commit
6695c33ded
1 changed files with 2 additions and 1 deletions
|
@ -1371,7 +1371,8 @@ int getEncodingIndex(const char *name)
|
|||
/* For binary compatibility, we store the index of the encoding specified
|
||||
at initialization in the isUtf16 member. */
|
||||
|
||||
#define INIT_ENC_INDEX(enc) ((enc)->initEnc.isUtf16)
|
||||
#define INIT_ENC_INDEX(enc) ((int)(enc)->initEnc.isUtf16)
|
||||
#define SET_INIT_ENC_INDEX(enc, i) ((enc)->initEnc.isUtf16 = (char)i)
|
||||
|
||||
/* This is what detects the encoding.
|
||||
encodingTable maps from encoding indices to encodings;
|
||||
|
|
Loading…
Add table
Reference in a new issue