Immediate-Mode-UI / Immediate-Mode-UI/Nuklear

Type conversion warnings

Open
#727 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.4k
Forks
686
Avg merge
4d 1h
Merged PRs (30d)
3

Description

..\Nuklear\common\overview.c(430,33): warning C4477: 'sprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'size_t'
..\Nuklear\common\overview.c(430,33): message : consider using '%zu' in the format string
..\Nuklear\common\overview.c(442,33): warning C4477: 'sprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'size_t'
..\Nuklear\common\overview.c(442,33): message : consider using '%zu' in the format string

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.

Research direction

Open Nuklear/common/overview.c and inspect the sprintf calls at lines 430 and 442 alongside the reported MSVC C4477 diagnostics. Rebuild the affected example or configuration to confirm the warnings are resolved at both locations; done means no type-conversion format warnings remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.