andrewrk / andrewrk/libsoundio

Use size_t for array lengths

Open
#130 19 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
2.1k
Forks
254
PR merge metrics
No merged PRs in 30d

Description

Most of the _count fields should have the type size_t instead of int, because it's the official type for array sizes. While they could be interpreted as just the number of supported channels, that's not what 95% of the use cases are.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.