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

Commitc7ae93e

Browse files
committed
Fixed unpack sig format bug.
1 parentff267a4 commitc7ae93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/codegen/c-sigprinter.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ std::string CSigPrinter::PrintSignalExpr(const SignalDescriptor_t* sig,
140140
t64 ="(uint64_t)";
141141
}
142142

143-
snprintf(workbuff, WBUFF_LEN,"(%s_d[%d] & (%s)) << %d)", t64.c_str(), bn, msk[bbc].c_str(), slen);
143+
snprintf(workbuff, WBUFF_LEN,"(%s(_d[%d] & (%s)) << %d)", t64.c_str(), bn, msk[bbc].c_str(), slen);
144144
tosigexpr += workbuff;
145145

146146
snprintf(workbuff, WBUFF_LEN,"((_m->%s >> %d) & (%s))", sig->Name.c_str(), slen,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp