@@ -2026,7 +2026,7 @@ void EWSContext::toContent(const std::string& dir, tCalendarItem& item, sShape&
20262026 auto addrType = deconst (" SMTP" );
20272027 shape.write (TAGGED_PROPVAL{PR_SENT_REPRESENTING_ADDRTYPE, addrType});
20282028 shape.write (TAGGED_PROPVAL{PR_SENDER_ADDRTYPE, addrType});
2029- auto uint0 = construct<uint32_t >(0 );
2029+ auto uint0 = construct<uint8_t >(0 );
20302030 auto uint1 = construct<uint32_t >(1 );
20312031 auto uint5 = construct<uint32_t >(5 );
20322032 shape.write (NtMeetingType, TAGGED_PROPVAL{PT_LONG, uint1});
@@ -2218,7 +2218,7 @@ void EWSContext::toContent(const std::string& dir, tItem& item, sShape& shape, M
22182218 if (item.Subject )
22192219 shape.write (TAGGED_PROPVAL{PR_SUBJECT, deconst (item.Subject ->c_str ())});
22202220
2221- auto now = EWSContext::construct<uint64_t >(rop_util_current_nttime ());
2221+ auto now = EWSContext::construct<mapitime_t >(rop_util_current_nttime ());
22222222 shape.write (TAGGED_PROPVAL{PR_CREATION_TIME, now});
22232223 shape.write (TAGGED_PROPVAL{PR_LOCAL_COMMIT_TIME, now});
22242224
@@ -2406,8 +2406,8 @@ void EWSContext::updated(const std::string& dir, const sMessageEntryId& mid, sSh
24062406 if (!m_plugin.exmdb .allocate_cn (dir.c_str (), &changeNum))
24072407 throw DispatchError (E3084 );
24082408 uint64_t localCommitTime = rop_util_current_nttime ();
2409- shape.write (TAGGED_PROPVAL{PR_LOCAL_COMMIT_TIME, construct<uint64_t >(localCommitTime)});
2410- shape.write (TAGGED_PROPVAL{PR_LAST_MODIFICATION_TIME, construct<uint64_t >(localCommitTime)});
2409+ shape.write (TAGGED_PROPVAL{PR_LOCAL_COMMIT_TIME, construct<mapitime_t >(localCommitTime)});
2410+ shape.write (TAGGED_PROPVAL{PR_LAST_MODIFICATION_TIME, construct<mapitime_t >(localCommitTime)});
24112411
24122412 std::string displayName;
24132413 if (mysql_adaptor_get_user_displayname (m_auth_info.username ,
0 commit comments