From bec5d6de9b8b4f44aa189d5f5dcfc4e965c28a64 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 22 Apr 2021 10:59:52 -0700 Subject: [PATCH] vmount:Use inttypes --- src/modules/vmount/vmount.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/vmount/vmount.cpp b/src/modules/vmount/vmount.cpp index 046b76b2c9..c6c5fcc8e8 100644 --- a/src/modules/vmount/vmount.cpp +++ b/src/modules/vmount/vmount.cpp @@ -1,6 +1,6 @@ /**************************************************************************** * - * Copyright (c) 2013-2020 PX4 Development Team. All rights reserved. + * Copyright (c) 2013-2020, 2021 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -289,7 +289,7 @@ static int vmount_thread_main(int argc, char *argv[]) break; default: - PX4_ERR("invalid input mode %i", params.mnt_mode_in); + PX4_ERR("invalid input mode %" PRId32, params.mnt_mode_in); break; } } @@ -323,7 +323,7 @@ static int vmount_thread_main(int argc, char *argv[]) break; default: - PX4_ERR("invalid output mode %i", params.mnt_mode_out); + PX4_ERR("invalid output mode %" PRId32, params.mnt_mode_out); thread_should_exit = true; break; }