| Summary: | MPEG_PICTURE_CODE case | ||
|---|---|---|---|
| Product: | [Applications] k3b | Reporter: | Dave Gilbert <gilbertd+kde> |
| Component: | Video CD project | Assignee: | K3b Bugs <k3b-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | chris, michalm, trueg |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SUMMARY Spotted during build by the compiler: k3b/libk3b/projects/videocd/mpeginfo/k3bmpeginfo.cpp:307:5: warning: case label value exceeds maximum value for type [-Wswitch-outside-range] 307 | case MPEG_PICTURE_CODE: | ^~~~ it's got a point, the switch is on 'mark' which is a 'byte' and k3bmpeginfo.h defines: #define MPEG_PICTURE_CODE ((ulong) 0x00000100) No idea what it's actually trying to do. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION