Explorar o código

fix recursive String

Chris Bannister %!s(int64=10) %!d(string=hai) anos
pai
achega
609c73bc0f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frame.go

+ 1 - 1
frame.go

@@ -175,7 +175,7 @@ func (c Consistency) String() string {
 	case LocalOne:
 		return "LOCAL_ONE"
 	default:
-		return fmt.Sprintf("UNKNOWN_CONS_0x%x", c)
+		return fmt.Sprintf("UNKNOWN_CONS_0x%x", uint16(c))
 	}
 }