Skip to content

SetCellInt cause build fail on armv7 #2132

Closed
@Chindada

Description

@Chindada

Description

x86, arm64 are built successfully, but armv7

Steps to reproduce the issue

if err := o.f.SetCellInt("S", fmt.Sprintf("%s%d", cellCol, len(o.machines)+3), int64(totalRed)); err != nil {
	return err
}

I turn int to int64

Describe the results you received

# github.com/xuri/excelize/v2
../../go/pkg/mod/github.com/xuri/excelize/v2@v2.9.1/file.go:214:47: math.MaxUint32 (untyped int constant 4294967295) overflows int

Describe the results you expected

Build pass.

Go version

1.24.3

Excelize version or commit ID

2.9.1

Environment

macOS development.

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions