~ubuntu-branches/ubuntu/trusty/zvbi/trusty

« back to all changes in this revision

Viewing changes to src/ure.c

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2013-10-15 06:29:56 UTC
  • mfrom: (1.1.11) (2.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20131015062956-0b9vqh1f8y90f38k
Tags: 0.2.35-2
* QA upload
* Add 06_sizeof_FTBFS.diff. Closes: #726186

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
#if defined(HAVE_GLIBC21)
43
43
 
44
 
#include <wctype.h>
 
44
#include <wchar.h> /* wint_t */
 
45
#include <wctype.h> /* isw...() */
45
46
 
46
47
#define unicode_isalnum(c) iswalnum((wint_t)(c))
47
48
#define unicode_isalpha(c) iswalpha((wint_t)(c))
2070
2071
          if (sym->props & (1 << k)) {
2071
2072
            if (h != 0)
2072
2073
              putc(',', out);
2073
 
            fprintf(out, "%hd", k + 1);
 
2074
            fprintf(out, "%hd", (short)(k + 1));
2074
2075
            h = 1;
2075
2076
          }
2076
2077
        }