Skip to content

Commit 1b719d7

Browse files
committed
deltacast_common: fix Windows warning
1 parent a6f255f commit 1b719d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/deltacast_common.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
#include <cstddef> // for NULL
4141
#include <cstdio> // for printf
42+
#include <cinttypes> // for PRIu32
4243
#include <iostream> // for basic_ostream, operator<<, cout, bas...
4344
#include <map> // for map, operator!=, _Rb_tree_iterator
4445

@@ -408,7 +409,8 @@ delta_set_nb_channels(ULONG BrdId, HANDLE BoardHandle, ULONG RequestedRx,
408409
Result = VHD_SetBiDirCfg(BrdId, it->second);
409410
if (Result == VHDERR_NOERROR) {
410411
MSG(INFO,
411-
"Set bidirectional channel configuration %d In / %d Out\n",
412+
"Set bidirectional channel configuration %" PRIu32
413+
" In / %" PRIu32 " Out\n",
412414
RequestedRx, NbChanOnBoard - RequestedRx);
413415
return true;
414416
}

0 commit comments

Comments
 (0)