diff --git a/src/factories/DisplayListFactory.cpp b/src/factories/DisplayListFactory.cpp index bd05352f..ae6bb80b 100644 --- a/src/factories/DisplayListFactory.cpp +++ b/src/factories/DisplayListFactory.cpp @@ -129,7 +129,7 @@ void DListCodeExporter::Export(std::ostream &write, std::shared_ptr if (Companion::Instance->IsDebug()) { const auto sz = (sizeof(uint32_t) * cmds.size()); - write << "// count: " << (sz / 8) << " DLists\n"; + write << "// count: " << std::to_string(sz / 8) << " DLists\n"; if (IS_SEGMENTED(offset)) { offset = SEGMENT_OFFSET(offset); } diff --git a/src/factories/VtxFactory.cpp b/src/factories/VtxFactory.cpp index 16685a8c..301dd48c 100644 --- a/src/factories/VtxFactory.cpp +++ b/src/factories/VtxFactory.cpp @@ -64,7 +64,7 @@ void VtxCodeExporter::Export(std::ostream &write, std::shared_ptr r write << "};\n"; if (Companion::Instance->IsDebug()) { - write << "// count: " << vtx.size() << " Vtxs\n"; + write << "// count: " << std::to_string(vtx.size()) << " Vtxs\n"; write << "// 0x" << std::hex << std::uppercase << (offset + (sizeof(VtxRaw) * vtx.size())) << "\n"; }