This commit is contained in:
Seockhyun Nam 2026-08-03 15:27:34 +09:00 committed by GitHub
commit 8468e7cbbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -250,7 +250,7 @@ func readElement(r io.Reader, element interface{}) error {
// Unix timestamp encoded as a uint32.
case *uint32Time:
rv, err := binarySerializer.Uint32(r, binary.LittleEndian)
rv, err := binarySerializer.Uint32(r, littleEndian)
if err != nil {
return err
}
@ -259,7 +259,7 @@ func readElement(r io.Reader, element interface{}) error {
// Unix timestamp encoded as an int64.
case *int64Time:
rv, err := binarySerializer.Uint64(r, binary.LittleEndian)
rv, err := binarySerializer.Uint64(r, littleEndian)
if err != nil {
return err
}