Browse Source

Fix build failure due to missing 'smallint' definition
These are source files built on the host.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>

Carmelo Amoroso 17 years ago
parent
commit
fa4e63add8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      extra/locale/gen_collate.c
  2. 1 1
      extra/locale/gen_wctype.c

+ 1 - 1
extra/locale/gen_collate.c

@@ -3482,7 +3482,7 @@ int nu_memcmp(const void *a, const void *b)
 
 size_t newopt(tbl_item *ut, size_t usize, int shift, table_data *tbl)
 {
-	static smallint recurse;
+	static int recurse;
 	tbl_item *ti[RANGE];	/* table index */
 	size_t numblocks;
 	size_t blocksize;

+ 1 - 1
extra/locale/gen_wctype.c

@@ -767,7 +767,7 @@ int main(int argc, char **argv)
 
 size_t newopt(unsigned char *ut, size_t usize, int shift, table_data *tbl)
 {
-	static smallint recurse;
+	static int recurse;
 	unsigned char *ti[RANGE+1];	/* table index */
 	size_t numblocks;
 	size_t blocksize;