Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/perl5Public

Commitfca15f2

Browse files
committed
S_uiv_2buf: code quality improvements suggested in GH#22927
1 parentf0f3175 commitfca15f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎sv_inline.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,14 +1055,13 @@ S_uiv_2buf(char *const buf, const IV iv, UV uv, const int is_uv, char **const pe
10551055
word_ptr= (U16*)ptr;
10561056
word_table= (U16*)Perl_int2str_table.arr;
10571057

1058-
if (UNLIKELY(is_uv))
1058+
if (is_uv)
10591059
sign=0;
10601060
elseif (iv >=0) {
10611061
uv=iv;
10621062
sign=0;
10631063
}else {
1064-
/* Using 0- here to silence bogus warning from MS VC */
1065-
uv= (UV) (0- (UV)iv);
1064+
uv=NEGATE_2UV(iv);
10661065
sign=1;
10671066
}
10681067

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp