Fix x86_64 build. Use B_PRId32 instead of ld.
Suggested by diver and augiedoggie. Thanks!
This commit is contained in:
@@ -49,7 +49,7 @@ EndpointInfo::EndpointInfo(int32 id)
|
|||||||
if (roster != NULL) {
|
if (roster != NULL) {
|
||||||
BMidiEndpoint* endpoint = roster->FindEndpoint(id);
|
BMidiEndpoint* endpoint = roster->FindEndpoint(id);
|
||||||
if (endpoint != NULL) {
|
if (endpoint != NULL) {
|
||||||
printf("endpoint %ld = %p\n", id, endpoint);
|
printf("endpoint %" B_PRId32 " = %p\n", id, endpoint);
|
||||||
BMessage msg;
|
BMessage msg;
|
||||||
if (endpoint->GetProperties(&msg) == B_OK) {
|
if (endpoint->GetProperties(&msg) == B_OK) {
|
||||||
fIcon = CreateIcon(&msg, DISPLAY_ICON_SIZE);
|
fIcon = CreateIcon(&msg, DISPLAY_ICON_SIZE);
|
||||||
|
|||||||
Reference in New Issue
Block a user