comparison src/audio/macosx/SDL_coreaudio.c @ 1487:dc6b59e925a2

Cleaning up warnings on MacOS X
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Mar 2006 06:33:21 +0000
parents d910939febfa
children 782fd950bd46 c121d94672cb 9df8136abec0
comparison
equal deleted inserted replaced
1486:9d77fc9d0ace 1487:dc6b59e925a2
126 } 126 }
127 127
128 len = bufferSize - bufferOffset; 128 len = bufferSize - bufferOffset;
129 if (len > remaining) 129 if (len > remaining)
130 len = remaining; 130 len = remaining;
131 SDL_memcpy(ptr, buffer + bufferOffset, len); 131 SDL_memcpy(ptr, (char *)buffer + bufferOffset, len);
132 ptr += len; 132 ptr = (char *)ptr + len;
133 remaining -= len; 133 remaining -= len;
134 bufferOffset += len; 134 bufferOffset += len;
135 } 135 }
136 136
137 return 0; 137 return 0;