Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use int64 for StaticVirtualChannels #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

olljanat
Copy link

Without this change building 32-bit binaries fails to error:

# github.com/tomatome/grdp/plugin
..\..\..\..\pkg\mod\github.com\olljanat\[email protected]\plugin\channel.go:182:28: cannot use CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_ENCRYPT_RDP | CHANNEL_OPTION_COMPRESS_RDP | CHANNEL_OPTION_SHOW_PROTOCOL (untyped int constant 3231711232) as int value in map literal (overflows)
..\..\..\..\pkg\mod\github.com\olljanat\[email protected]\plugin\channel.go:184:26: cannot use CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_ENCRYPT_RDP | CHANNEL_OPTION_COMPRESS_RDP (untyped int constant 3229614080) as int value in map literal (overflows)
..\..\..\..\pkg\mod\github.com\olljanat\[email protected]\plugin\channel.go:185:27: cannot use CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_ENCRYPT_RDP | CHANNEL_OPTION_COMPRESS_RDP | CHANNEL_OPTION_SHOW_PROTOCOL (untyped int constant 3231711232) as int value in map literal (overflows)
..\..\..\..\pkg\mod\github.com\olljanat\[email protected]\plugin\channel.go:187:25: cannot use CHANNEL_OPTION_INITIALIZED | CHANNEL_OPTION_ENCRYPT_RDP | CHANNEL_OPTION_COMPRESS_RDP | CHANNEL_OPTION_SHOW_PROTOCOL (untyped int constant 3231711232) as int value in map literal (overflows)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant