Skip to content

Conversation

Digipom
Copy link
Contributor

@Digipom Digipom commented Nov 29, 2023

Fixes:
/C++: /Volumes/DEV/projects/easy-transcription/android/src/whisper/src/main/cpp/whisper/ggml-backend.c:875:58: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
C/C++: fprintf(stderr, "ggml_backend_sched size: %lu KB\n", sizeof(struct ggml_backend_sched)/1024);
C/C++: ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C/C++: %u

Warning about %lu on 32-bit targets. Updated to %zu.
@bobqianic
Copy link
Collaborator

Reference: https://stackoverflow.com/a/73167304

@bobqianic bobqianic merged commit 3c28d1a into ggml-org:master Dec 3, 2023
landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
Warning about %lu on 32-bit targets. Updated to %zu.
bygreencn added a commit to bygreencn/whisper.cpp that referenced this pull request Dec 20, 2023
* origin/master:
  bench.py : add different large models (ggml-org#1655)
  wchess : update README.md
  release : v1.5.2
  wchess : update readme
  wchess : whisper assisted chess (ggml-org#1595)
  sync : ggml (Metal fixes, new ops, tests) (ggml-org#1633)
  cmake : target windows 8 or above for prefetchVirtualMemory in llama-talk (ggml-org#1617)
  cmake : Fix bug in httplib.h for mingw (ggml-org#1615)
  metal : fix `ggml_metal_log` vargs (ggml-org#1606)
  whisper.objc : disable timestamps for real-time transcription
  whisper : more debug messages + fix fallback logic
  metal : fix soft_max kernel src1 argument (ggml-org#1602)
  sync : ggml (new ops, new backend, etc) (ggml-org#1602)
  server : pass max-len argument to the server (ggml-org#1574)
  ios : Remove `#if arch(arm)` check for using Metal (ggml-org#1561)
  ggml : Fix 32-bit compiler warning (ggml-org#1575)
  ggml : re-enable blas for src0 != F32 (ggml-org#1583)
iThalay pushed a commit to iThalay/whisper.cpp that referenced this pull request Sep 23, 2024
Warning about %lu on 32-bit targets. Updated to %zu.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants