mirror of
https://github.com/boostorg/endian.git
synced 2025-07-31 21:14:38 +02:00
typo fixed
This commit is contained in:
@@ -44,7 +44,7 @@ int main()
|
|||||||
|
|
||||||
for (auto &out_rec : recs) // write each record
|
for (auto &out_rec : recs) // write each record
|
||||||
{
|
{
|
||||||
out_rec.balance = boost::endian::native_to_big(rec.balance); // reverse if needed
|
out_rec.balance = boost::endian::native_to_big(out_rec.balance); // reverse if needed
|
||||||
out.write((const char*)&out_rec, sizeof(out_rec));
|
out.write((const char*)&out_rec, sizeof(out_rec));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user