Skip to content

Does not compile for 32 bit architecture #1

@nicksantamaria

Description

@nicksantamaria

I encountered an issue when compiling a project with this library with the GOARCH=386.

vendor/github.com/brotherpowers/ipsubnet/ip.go:16:27: constant 4294967295 overflows int

This is the line in question:

ipsubnet/ip.go

Line 16 in 30bc98f

subnet_mask: 0xFFFFFFFF << uint(32-networkSize),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions