1 comment:
File src/drivers/intel/gma/edid.c:
Call me cursed, buuut... What if you do a pointer cast and use an u32* here? This would make the byteswap unnecessary.
If the type is char or void, then aliasing to a different type does NOT result in nasal demons (undefined behavior, after which anything could happen like demons coming out of everyone's noses). So, it's an option.
To view, visit change 38647. To unsubscribe, or for help writing mail filters, visit settings.