~aleteoryx/muditaos

641280c02e7b8b439197c957ac64abb1693b70f6 — Roman Kubiak 5 years ago da100b0
format int fix
1 files changed, 4 insertions(+), 1 deletions(-)

M module-services/service-desktop/update/UpdatePureOS.cpp
M module-services/service-desktop/update/UpdatePureOS.cpp => module-services/service-desktop/update/UpdatePureOS.cpp +4 -1
@@ 313,7 313,10 @@ bool UpdatePureOS::unpackFileToTemp(mtar_header_t &h, unsigned long *crc32)
    uint32_t blocksToRead = (h.size / purefs::buffer::tar_buf) + 1;
    uint32_t sizeToRead   = purefs::buffer::tar_buf;

    LOG_DEBUG("unpackFileToTemp %s blocksToRead %lu sizeToRead %lu", fullPath.c_str(), blocksToRead, sizeToRead);
    LOG_DEBUG("unpackFileToTemp %s blocksToRead %ud sizeToRead %ud",
              fullPath.c_str(),
              (unsigned int)blocksToRead,
              (unsigned int)sizeToRead);

    if (crc32 != nullptr) {
        *crc32 = 0;