Content-Length: 263333 | pFad | https://github.com/astand/c-coderdbc/commit/79fc48e7334ad79c0ba8173ddaec4109a36e1b69

23 Fixed comment printing. · astand/c-coderdbc@79fc48e · GitHub
Skip to content

Commit 79fc48e

Browse files
committed
Fixed comment printing.
1 parent 0947ebf commit 79fc48e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/codegen/c-main-generator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,12 +377,12 @@ void CiMainGenerator::WriteSigStructField(const SignalDescriptor_t& sig, bool bi
377377
// 2 type of signal
378378
if (sig.Offset != 0)
379379
{
380-
fwriter->AppendText(PrintF(" Offset= %-18d", sig.Offset));
380+
fwriter->AppendText(PrintF(" Offset= %-18d", (int)sig.Offset));
381381
}
382382

383383
if (sig.Factor != 1)
384384
{
385-
fwriter->AppendText(PrintF(" Factor= %-15d", sig.Factor));
385+
fwriter->AppendText(PrintF(" Factor= %-15d", (int)sig.Factor));
386386
}
387387
}
388388

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/astand/c-coderdbc/commit/79fc48e7334ad79c0ba8173ddaec4109a36e1b69

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy