Fix cast problem on x86
authorAleksei Vereshchagin <avereschagin@dev.rtsoft.ru>
Fri, 27 Apr 2018 15:10:33 +0000 (18:10 +0300)
committerAleksei Vereshchagin <avereschagin@dev.rtsoft.ru>
Fri, 27 Apr 2018 15:10:33 +0000 (18:10 +0300)
src/tracelog/tracefmt.h

index 21c9c56..f8f8fcb 100644 (file)
@@ -292,7 +292,7 @@ private:
         record& alt_item(InternalID classIid, AllocInfo allocInfo)
         {
             grps(':');
-            hex(classIid).num(allocInfo.allocCount).num(allocInfo.memSize);
+            hex(classIid.id).num(allocInfo.allocCount).num(allocInfo.memSize);
             grpe();
             return *this;
         }
@@ -300,7 +300,7 @@ private:
         record& frame(Frame f)
         {
             grps(':');
-            hex(f.pFuncInfo->internalId);
+            hex(f.pFuncInfo->internalId.id);
             if (f.ip != 0)
             {
                 ip(f.ip);
@@ -313,7 +313,7 @@ private:
             InternalID classIid, AllocInfo allocInfo, UINT_PTR ip = 0)
         {
             grps(':');
-            hex(classIid).num(allocInfo.allocCount).num(allocInfo.memSize);
+            hex(classIid.id).num(allocInfo.allocCount).num(allocInfo.memSize);
             if (ip != 0)
             {
                 this->ip(ip);