Skip to content

Commit

Permalink
ColorMenuButton.cpp: fix x86 build
Browse files Browse the repository at this point in the history
  • Loading branch information
korli authored Dec 11, 2024
1 parent b0d00eb commit 9fe11d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/ColorMenuButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -760,9 +760,9 @@ ColorMenuButton::Save(BEntry entry)
BString redS, greenS, blueS, lineS;
for (int i = 0; i < C_V_NUM * C_H_NUM; i++) {
rgb_color c = menu->ItemAt(i)->getColor();
fNumberFormat.Format(redS, int(c.red));
fNumberFormat.Format(greenS, int(c.green));
fNumberFormat.Format(blueS, int(c.blue));
fNumberFormat.Format(redS, (int32)int(c.red));
fNumberFormat.Format(greenS, (int32)int(c.green));
fNumberFormat.Format(blueS, (int32)int(c.blue));
lineS.SetToFormat("%s %s %s\n", redS.String(), greenS.String(), blueS.String());
fputs(lineS.String(), fp);
}
Expand Down

0 comments on commit 9fe11d5

Please sign in to comment.