Commit 1f3873aa authored by Alexandre Julliard's avatar Alexandre Julliard

wineps: Add a comment about the trap for code checking tools.

parent c0ff1aec
......@@ -271,6 +271,7 @@ static LPDEVMODEA DEVMODEdupWtoA(HANDLE heap, const DEVMODEW *dmW)
LPDEVMODEA dmA;
DWORD size;
BOOL Formname;
/* there is no pointer dereference here, if your code checking tool complains it's broken */
ptrdiff_t off_formname = (const char *)dmW->dmFormName - (const char *)dmW;
if(!dmW) return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment