diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-03-04 09:28:01 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-03-04 09:28:01 +0100 |
| commit | 0a7e36380717fe926d43ab30ef6162db9bd71723 (patch) | |
| tree | b0ad75c7525688f8e54319e440b251213a4ef3db /src/zsetu.c | |
| parent | Add zptest (diff) | |
| download | libzahl-0a7e36380717fe926d43ab30ef6162db9bd71723.tar.gz libzahl-0a7e36380717fe926d43ab30ef6162db9bd71723.tar.bz2 libzahl-0a7e36380717fe926d43ab30ef6162db9bd71723.tar.xz | |
Add makefile and fix errors
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zsetu.c')
| -rw-r--r-- | src/zsetu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zsetu.c b/src/zsetu.c index 2e60c28..f37be7e 100644 --- a/src/zsetu.c +++ b/src/zsetu.c @@ -1,5 +1,5 @@ /* See LICENSE file for copyright and license details. */ -#include "internals" +#include "internals.h" #define SIZE_MULTIPLE(fit, in) ((sizeof(fit) + sizeof(in) - 1) / sizeof(in)) @@ -12,7 +12,7 @@ zsetu(z_t a, unsigned long long int b) return; } if (a->alloced < SIZE_MULTIPLE(b, *(a->chars))) - zahl_realloc(a, SIZE_MULTIPLE(b, *(a->chars))) + zahl_realloc(a, SIZE_MULTIPLE(b, *(a->chars))); SET_SIGNUM(a, 1); a->used = 0; while (b) { |
