From f82c583957795bc55ab44815bdbe10d2750d7d6d Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 31 Oct 2018 10:49:44 +0700 Subject: [PATCH] make the error code a uint16 --- qerr/quic_error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qerr/quic_error.go b/qerr/quic_error.go index 42d08c4c5..4a90b5784 100644 --- a/qerr/quic_error.go +++ b/qerr/quic_error.go @@ -5,7 +5,7 @@ import ( ) // ErrorCode can be used as a normal error without reason. -type ErrorCode uint32 +type ErrorCode uint16 func (e ErrorCode) Error() string { return e.String()