Browse Source

fix recursive String

Chris Bannister 10 years ago
parent
commit
609c73bc0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frame.go

+ 1 - 1
frame.go

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