diff --git a/mlir/test/CAPI/quant.c b/mlir/test/CAPI/quant.c index 30f376ebeb112..be4595fd39e81 100644 --- a/mlir/test/CAPI/quant.c +++ b/mlir/test/CAPI/quant.c @@ -268,7 +268,7 @@ void testUniformSubChannelType(MlirContext ctx) { mlirTypeIsNull(illegalSubChannel)); // CHECK: num dims: 2 - fprintf(stderr, "num dims: %" PRId64 "\n", + fprintf(stderr, "num dims: %" PRIdPTR "\n", mlirUniformQuantizedSubChannelTypeGetNumBlockSizes(subChannel)); // CHECK: axis-block-size-pair[0]: 0:1