Skip to content

Commit dd10ee5

Browse files
committed
CI fix attempt #3
1 parent 3119277 commit dd10ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RichString.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void RichString_setAttrn_preserveWithStandout(RichString* this, int attrs, int s
173173
cchar_t* ch = this->chptr + start;
174174
for (int i = start; i <= finish; i++) {
175175
// Extract foreground and background color indexes from the current char
176-
int currentCharPairNum = PAIR_NUMBER(ch->attr);
176+
short currentCharPairNum = PAIR_NUMBER(ch->attr);
177177
short before_fg_color = -1, before_bg_color = -1;
178178
if (currentCharPairNum != 0) {
179179
pair_content(currentCharPairNum, &before_fg_color, &before_bg_color);
@@ -264,7 +264,7 @@ void RichString_setAttrn_preserveWithStandout(RichString* this, int attrs, int s
264264
int current_attrs = this->chptr[i] & ~A_CHARTEXT; // Extract attributes
265265

266266
// Extract foreground and background color indexes from the current char
267-
int currentCharPairNum = PAIR_NUMBER(current_attrs);
267+
short currentCharPairNum = PAIR_NUMBER(current_attrs);
268268
short before_fg_color = -1, before_bg_color = -1;
269269
if (currentCharPairNum != 0) {
270270
pair_content(currentCharPairNum, &before_fg_color, &before_bg_color);

0 commit comments

Comments
 (0)