Skip to content
Snippets Groups Projects
Commit c8db0cbf authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

removed unneccessary cast

parent 6136bd64
Branches
Tags
No related merge requests found
......@@ -31,7 +31,7 @@ func ParseCommunityString(s string) (uint32, error) {
if err != nil {
return 0, err
}
e2 := uint16(v)
e2 := uint32(v)
return e1<<16 + uint32(e2), nil
return e1<<16 + e2, nil
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment