diff options
Diffstat (limited to 'libctf')
-rw-r--r-- | libctf/ctf-serialize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libctf/ctf-serialize.c b/libctf/ctf-serialize.c index c6b8b49..ecbc617 100644 --- a/libctf/ctf-serialize.c +++ b/libctf/ctf-serialize.c @@ -1319,7 +1319,7 @@ ctf_write_mem (ctf_dict_t *fp, size_t *size, size_t threshold) { ctf_set_errno (fp, ENOMEM); ctf_err_warn (fp, 0, 0, _("ctf_write_mem: cannot allocate %li bytes"), - (unsigned long) fp->ctf_size + sizeof (struct ctf_header)); + (unsigned long) (fp->ctf_size + sizeof (struct ctf_header))); return NULL; } ctf_flip_header (hp); |