Skip to content

Change the format specifier#5523

Merged
gaurav2699 merged 2 commits intomainfrom
user/gaurasingh/trace_bug
Oct 16, 2025
Merged

Change the format specifier#5523
gaurav2699 merged 2 commits intomainfrom
user/gaurasingh/trace_bug

Conversation

@gaurav2699
Copy link
Contributor

Description

The msquic pipeline in undock using UCRT compiler is failing due to format specifier mismatch. BOOLEAN is typedef'd as unsigned char, but the format string uses %d which expects a signed integer. When an unsigned char is passed to a function that expects a signed type, the compiler generates a C6340 warning.

Testing

The new changes are tested on the undock pipeline and its passing.

Documentation

No

@gaurav2699 gaurav2699 requested a review from a team as a code owner October 16, 2025 07:47
@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.46%. Comparing base (8eb3104) to head (920ab7c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5523      +/-   ##
==========================================
+ Coverage   84.65%   85.46%   +0.81%     
==========================================
  Files          59       59              
  Lines       18621    18621              
==========================================
+ Hits        15763    15915     +152     
+ Misses       2858     2706     -152     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@guhetier guhetier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to backport this to v2.5?

@gaurav2699
Copy link
Contributor Author

Do we need to backport this to v2.5?

Yes

@gaurav2699 gaurav2699 merged commit 364b9a2 into main Oct 16, 2025
467 checks passed
@gaurav2699 gaurav2699 deleted the user/gaurasingh/trace_bug branch October 16, 2025 16:02
guhetier pushed a commit that referenced this pull request Oct 22, 2025
* changed signed to unsigned

* updated clog
guhetier added a commit that referenced this pull request Oct 22, 2025
* changed signed to unsigned

* updated clog

Co-authored-by: Gaurav Singh <gaurasingh@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants