Skip to content

rgb24_configure() fix -Werror=format-truncation#1273

Open
kuvaldini wants to merge 2 commits into
gnif:masterfrom
kuvaldini:master
Open

rgb24_configure() fix -Werror=format-truncation#1273
kuvaldini wants to merge 2 commits into
gnif:masterfrom
kuvaldini:master

Conversation

@kuvaldini

Copy link
Copy Markdown
error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Werror=format-truncation=]
   98 |     snprintf(sOutputWidth , sizeof(sOutputWidth) , %d, this.width );
      |                                                     ^~

error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Werror=format-truncation=]
   98 |     snprintf(sOutputWidth , sizeof(sOutputWidth) , %d, this.width );
      |                                                     ^~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant