mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fixed compile warning
Fixed compile warning. The strlen() returns size_t, not integer.
This commit is contained in:
parent
04c2de32c1
commit
0994cf7aae
1 changed files with 1 additions and 1 deletions
|
|
@ -739,7 +739,7 @@ int snd_pcm_jack_open(snd_pcm_t **pcmp, const char *name,
|
||||||
stream == SND_PCM_STREAM_PLAYBACK ? "P" : "C", getpid(), num++)
|
stream == SND_PCM_STREAM_PLAYBACK ? "P" : "C", getpid(), num++)
|
||||||
>= (int)sizeof(jack_client_name)) {
|
>= (int)sizeof(jack_client_name)) {
|
||||||
fprintf(stderr, "%s: WARNING: JACK client name '%s' truncated to %d characters, might not be unique\n",
|
fprintf(stderr, "%s: WARNING: JACK client name '%s' truncated to %d characters, might not be unique\n",
|
||||||
__func__, jack_client_name, strlen(jack_client_name));
|
__func__, jack_client_name, (int)strlen(jack_client_name));
|
||||||
}
|
}
|
||||||
|
|
||||||
jack->client = jack_client_new(jack_client_name);
|
jack->client = jack_client_new(jack_client_name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue