From fc1623501c41e62c1983ae32fefbed8362b2d909 Mon Sep 17 00:00:00 2001
From: 554325746@qq.com <554325746@qq.com>
Date: 星期三, 24 七月 2019 19:45:24 +0800
Subject: [PATCH] build all

---
 sysset.pb.go |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/sysset.pb.go b/sysset.pb.go
index 0ea7461..7bd9562 100644
--- a/sysset.pb.go
+++ b/sysset.pb.go
@@ -8,7 +8,6 @@
 	proto "github.com/gogo/protobuf/proto"
 	io "io"
 	math "math"
-	math_bits "math/bits"
 )
 
 // Reference imports to suppress errors if they are not otherwise used.
@@ -942,7 +941,14 @@
 }
 
 func sovSysset(x uint64) (n int) {
-	return (math_bits.Len64(x|1) + 6) / 7
+	for {
+		n++
+		x >>= 7
+		if x == 0 {
+			break
+		}
+	}
+	return n
 }
 func sozSysset(x uint64) (n int) {
 	return sovSysset(uint64((x << 1) ^ uint64((int64(x) >> 63))))

--
Gitblit v1.8.0