address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10127 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -22,6 +22,7 @@ protected:
|
|||||||
memset(mh,0,sizeof(media_header));
|
memset(mh,0,sizeof(media_header));
|
||||||
status_t result = track->ReadChunk((char**)chunkData,(int32*)chunkLen,mh);
|
status_t result = track->ReadChunk((char**)chunkData,(int32*)chunkLen,mh);
|
||||||
const void * data = *chunkData;
|
const void * data = *chunkData;
|
||||||
|
(void)data;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ void InitWatch()
|
|||||||
status_t rv;
|
status_t rv;
|
||||||
rv = roster->StartWatching(be_app_messenger);
|
rv = roster->StartWatching(be_app_messenger);
|
||||||
if (rv != B_OK) {
|
if (rv != B_OK) {
|
||||||
printf("Globalwatch: StartWatching failed. result = %#x\n",rv);
|
printf("Globalwatch: StartWatching failed. result = %#lx\n",rv);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -36,7 +36,7 @@ void InitWatch()
|
|||||||
|
|
||||||
rv = roster->GetLiveNodes(out_live_nodes, &io_total_count);
|
rv = roster->GetLiveNodes(out_live_nodes, &io_total_count);
|
||||||
if (rv != B_OK) {
|
if (rv != B_OK) {
|
||||||
printf("GetLiveNodes failed. result = %#x\n",rv);
|
printf("GetLiveNodes failed. result = %#lx\n",rv);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ void ExitWatch()
|
|||||||
status_t rv;
|
status_t rv;
|
||||||
rv = roster->StopWatching(be_app_messenger);
|
rv = roster->StopWatching(be_app_messenger);
|
||||||
if (rv != B_OK) {
|
if (rv != B_OK) {
|
||||||
printf("Globalwatch: StopWatching failed. result = %#x\n",rv);
|
printf("Globalwatch: StopWatching failed. result = %#lx\n",rv);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -68,7 +68,7 @@ void StartWatch(media_node node)
|
|||||||
status_t rv;
|
status_t rv;
|
||||||
rv = roster->StartWatching(be_app_messenger, node, B_MEDIA_WILDCARD);
|
rv = roster->StartWatching(be_app_messenger, node, B_MEDIA_WILDCARD);
|
||||||
if (rv != B_OK) {
|
if (rv != B_OK) {
|
||||||
printf("Nodewatch: StartWatching failed. result = %#x\n",rv);
|
printf("Nodewatch: StartWatching failed. result = %#lx\n",rv);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
media_node *mn = new media_node;
|
media_node *mn = new media_node;
|
||||||
@@ -83,7 +83,7 @@ void StopWatch(media_node node)
|
|||||||
status_t rv;
|
status_t rv;
|
||||||
rv = roster->StopWatching(be_app_messenger, node, B_MEDIA_WILDCARD);
|
rv = roster->StopWatching(be_app_messenger, node, B_MEDIA_WILDCARD);
|
||||||
if (rv != B_OK) {
|
if (rv != B_OK) {
|
||||||
printf("Nodewatch: StopWatching failed. result = %#x\n",rv);
|
printf("Nodewatch: StopWatching failed. result = %#lx\n",rv);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
media_node *mn;
|
media_node *mn;
|
||||||
|
|||||||
Reference in New Issue
Block a user