From c01afdc78cc4fb56e497b04aea69ef575fc53bf0 Mon Sep 17 00:00:00 2001 From: willamowius Date: Mon, 15 Jan 2024 12:54:17 +0100 Subject: [PATCH] fix VS2022 warning --- src/ptclib/vcard.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ptclib/vcard.cxx b/src/ptclib/vcard.cxx index 0d75d34..46c5d35 100644 --- a/src/ptclib/vcard.cxx +++ b/src/ptclib/vcard.cxx @@ -554,7 +554,7 @@ void PvCard::PrintOn(ostream & strm) const strm << "END:vCard\n"; } - strm.iword(previous_iword); + strm.iword(0) = previous_iword; }