From c58fcc9888a59a3a5b89740afff4025ea7f63cad Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Sat, 17 Aug 2013 17:28:05 -0400 Subject: [PATCH] Fix x86_64 build. Use B_PRId32 instead of ld. Suggested by diver and augiedoggie. Thanks! --- src/apps/patchbay/EndpointInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/patchbay/EndpointInfo.cpp b/src/apps/patchbay/EndpointInfo.cpp index 331f276319..538061ab30 100644 --- a/src/apps/patchbay/EndpointInfo.cpp +++ b/src/apps/patchbay/EndpointInfo.cpp @@ -49,7 +49,7 @@ EndpointInfo::EndpointInfo(int32 id) if (roster != NULL) { BMidiEndpoint* endpoint = roster->FindEndpoint(id); if (endpoint != NULL) { - printf("endpoint %ld = %p\n", id, endpoint); + printf("endpoint %" B_PRId32 " = %p\n", id, endpoint); BMessage msg; if (endpoint->GetProperties(&msg) == B_OK) { fIcon = CreateIcon(&msg, DISPLAY_ICON_SIZE);