diff --git a/common/patches/rof.cpp b/common/patches/rof.cpp index dc57d0ba6..25927bec9 100644 --- a/common/patches/rof.cpp +++ b/common/patches/rof.cpp @@ -5579,7 +5579,7 @@ namespace RoF ob.write((const char*)&iqbs, sizeof(RoF::structs::ItemQuaternaryBodyStruct)); - std::stringstream::pos_type count_pos = ob.tellp(); + EQEmu::OutBuffer::pos_type count_pos = ob.tellp(); uint32 subitem_count = 0; ob.write((const char*)&subitem_count, sizeof(uint32)); diff --git a/common/patches/sod.cpp b/common/patches/sod.cpp index b3c5d50d8..91675acf1 100644 --- a/common/patches/sod.cpp +++ b/common/patches/sod.cpp @@ -3842,7 +3842,7 @@ namespace SoD ob.write((const char*)&iqbs, sizeof(SoD::structs::ItemQuaternaryBodyStruct)); - std::stringstream::pos_type count_pos = ob.tellp(); + EQEmu::OutBuffer::pos_type count_pos = ob.tellp(); uint32 subitem_count = 0; ob.write((const char*)&subitem_count, sizeof(uint32)); diff --git a/common/patches/sof.cpp b/common/patches/sof.cpp index 32383d4e9..39d5e108d 100644 --- a/common/patches/sof.cpp +++ b/common/patches/sof.cpp @@ -3165,7 +3165,7 @@ namespace SoF ob.write((const char*)&iqbs, sizeof(SoF::structs::ItemQuaternaryBodyStruct)); - std::stringstream::pos_type count_pos = ob.tellp(); + EQEmu::OutBuffer::pos_type count_pos = ob.tellp(); uint32 subitem_count = 0; ob.write((const char*)&subitem_count, sizeof(uint32)); diff --git a/common/patches/uf.cpp b/common/patches/uf.cpp index 24b4b6cba..e243d0dae 100644 --- a/common/patches/uf.cpp +++ b/common/patches/uf.cpp @@ -4178,7 +4178,7 @@ namespace UF ob.write((const char*)&iqbs, sizeof(UF::structs::ItemQuaternaryBodyStruct)); - std::stringstream::pos_type count_pos = ob.tellp(); + EQEmu::OutBuffer::pos_type count_pos = ob.tellp(); uint32 subitem_count = 0; ob.write((const char*)&subitem_count, sizeof(uint32));