GEOS-DEV / GEOS-DEV/GEOS

Cleanup: Resolve implicit 64-bit to 32-bit truncation warnings

Open
#3,893 0 comments 0 reactions 1 assignee View on GitHub

@OmarDuran is already working on this.

Since Oct 30, 2025.

type: cleanup / refactor type: new
Dominant language
C++
Stars
287
Forks
109
Avg merge
4d 41m
Merged PRs (30d)
5

Description

Describe the issue
In builds with Apple Clang, several warnings were identified with regard to 64-to-32-bit conversion while keeping other strict checks enabled.

Proposed cleanup
Resolve 64-to-32 bit conversion warnings in Apple Clang builds by using explicit static_cast for intentional truncation and matching variable types where appropriate.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.