wp
This commit is contained in:
@@ -478,7 +478,7 @@ func WriteString16(w io.Writer, str string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// для записи timestamp-ов
|
// для записи timestamp-ов
|
||||||
func WriteInt64AsUint32(w io.Writer, num int) error {
|
func WriteInt64AsUint32(w io.Writer, num int64) error {
|
||||||
if num < 0 || num > math.MaxUint32 {
|
if num < 0 || num > math.MaxUint32 {
|
||||||
return ErrRange
|
return ErrRange
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user