Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1142 Fix macos builds
Browse files Browse the repository at this point in the history
Cast uint64_t to unsigned long to solve macos build failure

Signed-off-by: Marika Lehmann <[email protected]>
  • Loading branch information
FerdinandSpitzschnueffler authored and MatthiasKillat committed Mar 1, 2022
1 parent c1d5e2e commit c2e3082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceoryx_examples/icediscovery_in_c/iox_c_find_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ int main()
searchFrontCameras,
(void*)&numberFrontCameras,
MessagingPattern_PUB_SUB);
printf("\nFound %lu front cameras\n", numberFrontCameras);
printf("\nFound %lu front cameras\n", (unsigned long)numberFrontCameras);

sleep_for(1000);
}
Expand Down

0 comments on commit c2e3082

Please sign in to comment.