Skip to content

Commit 8af20e3

Browse files
committed
fix warning
1 parent 1605605 commit 8af20e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -22209,7 +22209,7 @@ int llama_split_prefix(char * dest, size_t maxlen, const char * split_path, int
2220922209
const char * llama_print_system_info(void) {
2221022210
static std::string s;
2221122211

22212-
for (int i = 0; i < ggml_backend_reg_count(); i++) {
22212+
for (size_t i = 0; i < ggml_backend_reg_count(); i++) {
2221322213
auto * reg = ggml_backend_reg_get(i);
2221422214
auto * get_features_fn = (ggml_backend_get_features_t) ggml_backend_reg_get_proc_address(reg, "ggml_backend_get_features");
2221522215
if (get_features_fn) {

0 commit comments

Comments
 (0)