-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dns/dnsmessage: use map[string]uint16 instead of map[string]int
The compression pointer is limited to 14 bits, so there is no need to use int, uint16 is fine. Change-Id: I2276cbf63761e26a7e8590f0337930db87895ea5 GitHub-Last-Rev: e04b451 GitHub-Pull-Request: #192 Reviewed-on: https://go-review.googlesource.com/c/net/+/528955 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Mateusz Poliwczak <mpoliwczak34@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> TryBot-Result: Gopher Robot <gobot@golang.org>
- Loading branch information
1 parent
b3f1f23
commit 7c40cbd
Showing
2 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters