aboutsummaryrefslogtreecommitdiff
path: root/localedata/tests-mbwc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-02 17:55:34 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-02 17:55:34 +0000
commitc44b54824c6e70c488400130a6a864ed4451a3c5 (patch)
tree78e6a88095046c07516bfbeb1977f152b3f412d9 /localedata/tests-mbwc
parentea1c96f5824c4a809d6fe6da6f5e559b40e31068 (diff)
downloadglibc-c44b54824c6e70c488400130a6a864ed4451a3c5.tar
glibc-c44b54824c6e70c488400130a6a864ed4451a3c5.tar.gz
glibc-c44b54824c6e70c488400130a6a864ed4451a3c5.tar.bz2
glibc-c44b54824c6e70c488400130a6a864ed4451a3c5.zip
Update.
2000-08-02 Ulrich Drepper <drepper@redhat.com> * tests-mbwc/tst_types.h: Don't use `char' for types of any field, use `int'.
Diffstat (limited to 'localedata/tests-mbwc')
-rw-r--r--localedata/tests-mbwc/tst_types.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/localedata/tests-mbwc/tst_types.h b/localedata/tests-mbwc/tst_types.h
index ba6098d055..2bf5a4f079 100644
--- a/localedata/tests-mbwc/tst_types.h
+++ b/localedata/tests-mbwc/tst_types.h
@@ -116,11 +116,11 @@ typedef struct
{
struct
{
- char s_flg;
+ int s_flg;
char s[MBSSIZE];
size_t n;
- char t_flg;
- char t_init;
+ int t_flg;
+ int t_init;
}
seq[WCSTOK_SEQNUM];
}
@@ -139,12 +139,12 @@ typedef struct
{
struct
{
- char w_flg;
- char s_flg;
+ int w_flg;
+ int s_flg;
char s[MBSSIZE];
size_t n;
- char t_flg;
- char t_init;
+ int t_flg;
+ int t_init;
}
seq[MBRTOWC_SEQNUM];
}
@@ -173,11 +173,11 @@ typedef struct
{
struct
{
- char w_flg;
+ int w_flg;
char s[MBSSIZE];
size_t n;
- char t_flg;
- char t_init;
+ int t_flg;
+ int t_init;
}
seq[MBSRTOWCS_SEQNUM];
}
@@ -205,8 +205,8 @@ typedef struct
{
struct
{
- char w_flg;
- char s_flg;
+ int w_flg;
+ int s_flg;
const char *s;
size_t n;
}
@@ -302,7 +302,7 @@ typedef struct
{
wchar_t ws[WCSSIZE * 3];
wchar_t fmt[WCSSIZE * 3];
- char wch;
+ int wch;
}
TIN_SWSCANF_REC;
@@ -312,7 +312,7 @@ typedef struct
int val_int; /* %d */
unsigned val_uns; /* %u */
float val_flt; /* %f */
- char val_c; /* %c */
+ int val_c; /* %c */
char val_s[MBSSIZE * 2]; /* %s */
wchar_t val_S[WCSSIZE * 2]; /* %lc, %ls, %C, %S */
}
@@ -344,10 +344,10 @@ TST_TOW_STRUCT (UPPER, upper);
typedef struct
{
- char s_flg;
+ int s_flg;
wchar_t wc;
- char t_flg;
- char t_init;
+ int t_flg;
+ int t_init;
}
TIN_WCRTOMB_REC;
@@ -414,7 +414,7 @@ typedef TIN_WCSCMP_REC TIN_WCSCOLL_REC;
typedef struct
{
TMD_ERRET (int);
- char cmp_flg;
+ int cmp_flg;
}
TEX_WCSCOLL_REC;
TMD_RECHEAD (WCSCOLL);
@@ -518,12 +518,12 @@ TMD_RECHEAD (WCSPBRK);
typedef struct
{
- char s_flg;
- char w_flg; /* don't need this */
+ int s_flg;
+ int w_flg; /* don't need this */
wchar_t ws[WCSSIZE];
size_t n;
- char t_flg;
- char t_init;
+ int t_flg;
+ int t_init;
}
TIN_WCSRTOMBS_REC;
@@ -585,7 +585,7 @@ typedef struct
{
struct
{
- char w_flg;
+ int w_flg;
wchar_t ws[WCSSIZE];
wchar_t dt[WCSSIZE]; /* delimiter */
}
@@ -613,8 +613,8 @@ TMD_RECHEAD (WCSTOK);
typedef struct
{
- char s_flg;
- char w_flg; /* currently we don't need it. */
+ int s_flg;
+ int w_flg; /* currently we don't need it. */
wchar_t ws[WCSSIZE];
size_t n;
}
@@ -675,7 +675,7 @@ TMD_RECHEAD (WCTOB);
typedef struct
{
- char s_flg;
+ int s_flg;
wchar_t wc;
}
TIN_WCTOMB_REC;