[all-commits] [llvm/llvm-project] 87ff65: [mlir][test] Fix -Wformat in sparse_tensor.c (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Mon Feb 5 18:50:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87ff65b07c82337d99b0dc0ca562e394ecedc11b
      https://github.com/llvm/llvm-project/commit/87ff65b07c82337d99b0dc0ca562e394ecedc11b
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M mlir/test/CAPI/sparse_tensor.c

  Log Message:
  -----------
  [mlir][test] Fix -Wformat in sparse_tensor.c (NFC)

llvm-project/mlir/test/CAPI/sparse_tensor.c:50:43:
error: format specifies type 'unsigned long long' but the argument has type 'MlirSparseTensorLevelType' (aka 'unsigned long') [-Werror,-Wformat]
    fprintf(stderr, "level_type: %llu\n", lvlTypes[l]);
                                 ~~~~     ^~~~~~~~~~~
                                 %lu
1 error generated.




More information about the All-commits mailing list