Bug 259314
| Summary: | ProcessThrottler.cpp: error: format specifies type 'unsigned int' but the argument has type 'ProcessAssertionType' [-Werror,-Wformat] | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | WebKit Misc. | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 159188 | ||
| Bug Blocks: | |||
David Kilzer (:ddkilzer)
```
In file included from BuiltProducts/DerivedSources/WebKit/unified-sources/UnifiedSource62.cpp:7:
Source/WebKit/UIProcess/ProcessThrottler.cpp:175:144: error: format specifies type 'unsigned int' but the argument has type 'ProcessAssertionType' [-Werror,-Wformat]
175 | PROCESSTHROTTLER_RELEASE_LOG("setThrottleState: Updating process assertion type to %u (foregroundActivities=%u, backgroundActivities=%u)", newType, m_foregroundActivities.size(), m_backgroundActivities.size());
| ~~ ^~~~~~~
| %d
...
1 error generated.
```
<rdar://111551983>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/15909
EWS
Committed 266142@main (190a527ae2a5): <https://commits.webkit.org/266142@main>
Reviewed commits have been landed. Closing PR #15909 and removing active labels.