Skip to content

Commit

Permalink
tests: fix %d->%ld (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
dezren39 authored Jan 20, 2025
1 parent 69270ba commit 3219b31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/c_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ int main(int argc, char** argv) {
return 1;
}

printf("left_ptr images: %d\n", shapeData->len);
printf("left_ptr images: %ld\n", shapeData->len);

for (size_t i = 0; i < shapeData->len; ++i) {
printf("left_ptr image size: %d\n", shapeData->images[i].len);
printf("left_ptr image size: %ld\n", shapeData->images[i].len);
}

hyprcursor_raw_shape_data_free(shapeData);
Expand Down Expand Up @@ -76,4 +76,4 @@ int main(int argc, char** argv) {
}

return 0;
}
}

0 comments on commit 3219b31

Please sign in to comment.