change v0.0.1

This commit is contained in:
Anatoly Prohacky committed 2023-03-04 16:58:02 +10:00
1 parent 96c0cdabbf
commit 894bc6617c
4 files changed
+7 -9

No files matched your search

+2 -5
View File
@@ -73,11 +73,8 @@ func (a AclBit) String() string {
// converting string bits to int64
func (a AclBit) Int64() int64 {
i64, err := strconv.ParseInt(a.String(), 2, 64)
if err != nil {
return -1
}
return i64
return int64(a)
}
// converting string bits to int64