Selaa lähdekoodia

fix recursive String

Chris Bannister 10 vuotta sitten
vanhempi
commit
609c73bc0f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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))
 	}
 }