diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-03-01 19:41:04 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-03-01 19:41:04 +0100 |
| commit | 465749ec6de871ae244ebe6d3264c71eeb728fcc (patch) | |
| tree | d14bffe84132f80fc8edd266287bec3dff224e84 /src/zsetu.c | |
| parent | zsetu: change macro from CHARS_PER_TYPE to SIZE_MULTIPLE (diff) | |
| download | libzahl-465749ec6de871ae244ebe6d3264c71eeb728fcc.tar.gz libzahl-465749ec6de871ae244ebe6d3264c71eeb728fcc.tar.bz2 libzahl-465749ec6de871ae244ebe6d3264c71eeb728fcc.tar.xz | |
Add typedef zahl_char_t for internal use
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zsetu.c')
| -rw-r--r-- | src/zsetu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zsetu.c b/src/zsetu.c index 385403c..dd1be17 100644 --- a/src/zsetu.c +++ b/src/zsetu.c @@ -18,7 +18,7 @@ zsetu(z_t a, unsigned long long int b) SET_SIGNUM(a, 1); a->used = 0; while (b) { - a->chars[a->used++] = (uint32_t)b; + a->chars[a->used++] = (zahl_char_t)b; b >>= BITS_PER_CHAR; } } |
