change variable types for compilation

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14029 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Andrew Bachmann 2005-08-21 08:49:20 +00:00
parent 7126bf11ab
commit 6b08f7bd95
2 changed files with 8 additions and 8 deletions

View File

@ -76,8 +76,8 @@ int main(int argc, char *argv[])
int64 frameCount;
bigtime_t duration;
media_format format;
void *infoBuffer;
int32 infoSize;
const void *infoBuffer;
size_t infoSize;
s = reader->GetStreamInfo(cookies[i], &frameCount, &duration, &format, &infoBuffer, &infoSize);
if (s != B_OK) {
TRACE("main: GetStreamInfo(stream = %d) failed with error %lx (%s)\n", i, s, strerror(s));
@ -87,8 +87,8 @@ int main(int argc, char *argv[])
}
for (int i = 0; i < streamCount; i++) {
void *chunkBuffer;
int32 chunkSize;
const void *chunkBuffer;
size_t chunkSize;
media_header mediaHeader;
for (int j = 0; j < 5; j++) {
s = reader->GetNextChunk(cookies[i], &chunkBuffer, &chunkSize, &mediaHeader);

View File

@ -76,8 +76,8 @@ int main(int argc, char *argv[])
int64 frameCount;
bigtime_t duration;
media_format format;
void *infoBuffer;
int32 infoSize;
const void *infoBuffer;
size_t infoSize;
s = reader->GetStreamInfo(cookies[i], &frameCount, &duration, &format, &infoBuffer, &infoSize);
if (s != B_OK) {
TRACE("main: GetStreamInfo(stream = %d) failed with error %lx (%s)\n", i, s, strerror(s));
@ -87,8 +87,8 @@ int main(int argc, char *argv[])
}
for (int i = 0; i < streamCount; i++) {
void *chunkBuffer;
int32 chunkSize;
const void *chunkBuffer;
size_t chunkSize;
media_header mediaHeader;
for (int j = 0; j < 5; j++) {
s = reader->GetNextChunk(cookies[i], &chunkBuffer, &chunkSize, &mediaHeader);