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

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62838b872f1d8c6ffd88c355ece9324258169bdd
      https://github.com/llvm/llvm-project/commit/62838b872f1d8c6ffd88c355ece9324258169bdd
  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:42:
error: format specifies type 'unsigned long' but the argument has type 'MlirSparseTensorLevelType' (aka 'unsigned long long') [-Werror,-Wformat]
   50 |     fprintf(stderr, "level_type: %lu\n", lvlTypes[l]);
      |                                  ~~~     ^~~~~~~~~~~
      |                                  %llu
1 error generated.




More information about the All-commits mailing list