Add cross-stripe intel sample verify job
[fio.git] / crc / sha256.c
index ae9ff4d99508190788f6ad33c4d8e5c501fe5676..2b39c42e22deb80365ef6269a44cf82e91e558ee 100644 (file)
@@ -17,7 +17,6 @@
  *
  */
 #include <string.h>
-#include <inttypes.h>
 
 #include "../lib/bswap.h"
 #include "sha256.h"
@@ -277,7 +276,7 @@ void fio_sha256_final(struct fio_sha256_ctx *sctx)
        static const uint8_t padding[64] = { 0x80, };
 
        /* Save number of bits */
-       bits = sctx->count << 3;
+       bits = (uint64_t) sctx->count << 3;
 
        /* Pad out to 56 mod 64. */
        index = sctx->count & 0x3f;