Skip to content

Update tinywavinfo.c#242

Open
impravin22 wants to merge 1 commit intotinyalsa:masterfrom
impravin22:master
Open

Update tinywavinfo.c#242
impravin22 wants to merge 1 commit intotinyalsa:masterfrom
impravin22:master

Conversation

@impravin22
Copy link

No description provided.

if (2 == bytes_per_sample) {
short *buffer_ptr = (short *)buffer;
for (i = 0; i < num_read / bytes_per_sample; i += channels) {
for (i = 0; (unsigned)i < num_read / bytes_per_sample; i += channels) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(unsigned int) is more clear for the reader to know the type and we prefer to use that in this library.

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