mirror of
https://github.com/intel/isa-l.git
synced 2024-12-14 02:05:11 +01:00
crc: use macro to print 64-bit value
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
parent
cf967e5a37
commit
9ee34ec0f5
@ -28,6 +28,7 @@
|
|||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "crc64.h"
|
#include "crc64.h"
|
||||||
|
|
||||||
@ -62,7 +63,8 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
fclose(in);
|
fclose(in);
|
||||||
printf("total length is %ld, checksum is 0x%lx\n", total_in, crc64_checksum);
|
printf("total length is %" PRIu64 ", checksum is 0x%" PRIx64 "\n", total_in,
|
||||||
|
crc64_checksum);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user