diff --git a/libfreerdp/core/fastpath.c b/libfreerdp/core/fastpath.c index 518ab1ebc..c7899fd63 100644 --- a/libfreerdp/core/fastpath.c +++ b/libfreerdp/core/fastpath.c @@ -379,8 +379,8 @@ static int fastpath_recv_update(rdpFastPath* fastpath, BYTE updateCode, wStream* context = update->context; pointer = update->pointer; #ifdef WITH_DEBUG_RDP - DEBUG_RDP("recv Fast-Path %s Update (0x%02"PRIX8"), length:%"PRIu32"", - fastpath_update_to_string(updateCode), updateCode, size); + DEBUG_RDP("recv Fast-Path %s Update (0x%02"PRIX8"), length:%"PRIuz"", + fastpath_update_to_string(updateCode), updateCode, Stream_GetRemainingLength(s)); #endif switch (updateCode)