mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Use example that compiles on 32-bit arch
This commit is contained in:
@@ -264,8 +264,8 @@ func testBoundsChecking(input string) {
|
||||
_ = int16(parsed)
|
||||
}
|
||||
}
|
||||
if parsed <= math.MaxUint32 {
|
||||
_ = uint32(parsed)
|
||||
if parsed <= math.MaxUint16 {
|
||||
_ = uint16(parsed)
|
||||
}
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user