Make uint types have explicit sizes
authorMaciej Wereski <m.wereski@partner.samsung.com>
Fri, 6 Oct 2017 15:51:27 +0000 (17:51 +0200)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Tue, 10 Oct 2017 12:31:34 +0000 (14:31 +0200)
Change-Id: Ibed42f8862c3f21a8a29c477427950b879fabdc1
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Reviewed-on: https://mcdsrvbld02.digital.local/review/49556
Reviewed-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
boruta.go

index ac7d76e..129ebcf 100644 (file)
--- a/boruta.go
+++ b/boruta.go
@@ -65,10 +65,10 @@ const (
 type Capabilities map[string]string
 
 // ReqID refers to the Request created by the User.
-type ReqID uint
+type ReqID uint64
 
 // Priority is the importance of the Request. Lower - more important.
-type Priority uint
+type Priority uint8
 
 // UserInfo is a definition of the User or the Admin.
 type UserInfo struct{}