pcm: Fix integer size error.

The following code:

    while (pcm->boundary * 2 <= LONG_MAX - pcm->buffer_size)
		pcm->boundary *= 2;

Creates an infinite loop on systems where LONG_MAX != INT_MAX
(e.g. 64-bit systems).  pcm->boundary is an unsigned int, and so
INT_MAX is the proper value to use.
1 file changed