summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1844644
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:24:58 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-30 12:27:06 +0000
commit33606b41d35115f887ea688b1a16f2ff85bf2fe4 (patch)
tree406b2c7b19a087ba437c68f3dbf0b589fa1d6150 /results/scraper/launchpad-without-comments/1844644
parentadedf8771bc4de3113041ca21bd4d0d1c0014b6a (diff)
downloademulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.tar.gz
emulator-bug-study-33606b41d35115f887ea688b1a16f2ff85bf2fe4.zip
add launchpad bug reports without comments
Diffstat (limited to 'results/scraper/launchpad-without-comments/1844644')
-rw-r--r--results/scraper/launchpad-without-comments/18446446
1 files changed, 6 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1844644 b/results/scraper/launchpad-without-comments/1844644
new file mode 100644
index 00000000..977d5ace
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1844644
@@ -0,0 +1,6 @@
+Compiler warnings using MSVC
+
+The following line of code results in an implicit truncation of an uint16_t value to an uint8_t variable, which triggers a compiler warning in MSVC : https://github.com/qemu/qemu/blob/f8c3db33a5e863291182f8862ddf81618a7c6194/hw/usb/dev-hub.c#L387
+(Two lines down, the same thing happens.)
+
+This warning can be silenced by doing an explicit truncation, for example by a casting the value explicitly to uint8_t type, or by anding the value with 0xFF.
\ No newline at end of file