Skip to content

Commit baacd12

Browse files
authored
Fix printing of mlirUniformQuantizedSubChannelTypeGetNumBlockSizes in 32-bit machine. (#133763)
Fixes the issue reported in #120172 (comment) cc @mgorny
1 parent 5e2860a commit baacd12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/test/CAPI/quant.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void testUniformSubChannelType(MlirContext ctx) {
268268
mlirTypeIsNull(illegalSubChannel));
269269

270270
// CHECK: num dims: 2
271-
fprintf(stderr, "num dims: %" PRId64 "\n",
271+
fprintf(stderr, "num dims: %" PRIdPTR "\n",
272272
mlirUniformQuantizedSubChannelTypeGetNumBlockSizes(subChannel));
273273

274274
// CHECK: axis-block-size-pair[0]: 0:1

0 commit comments

Comments
 (0)