nonakap/xnp2 — pull request #3 by m42a (2014-11-04 16:42:01+00:00)
Title: Fixed alignment issue

On my 64-bit system, `private` is 64-bit aligned, and so `XF86VidModeModeInfo` has padding between `privsize` and `private` but `XF86VidModeModeLine` does not. Therefore, you can't convert between them via pointer casting or `memcpy`; a manual copy of each member is needed.