journal: use int64_t instead of long for catalog file size
authorMichal Schmidt <mschmidt@redhat.com>
Thu, 5 Nov 2015 12:44:05 +0000 (13:44 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Thu, 5 Nov 2015 12:44:05 +0000 (13:44 +0100)
commit77ba8233f70719ddd53373f98c53c5cfd5ff13c7
tree74821e17f137cb86af98833e8f72b4fc99dc5516
parent8d2ecdb2cf1bc5b1125e69deaa852c6791ab5a41
journal: use int64_t instead of long for catalog file size

This replaces the use of ftell() with ftello() for 64-bit size on all
archs.

Also drops a pointless check for NULL before calling strbuf_cleanup().
src/journal/catalog.c