Skip to content

Commit 239d222

Browse files
committed
cg: correct mistake
1 parent 82957fd commit 239d222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bld/cg/intel/c/x86enc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ void EmitPtr( pointer p )
227227
* Plop a pointer into Inst[]
228228
*/
229229
{
230-
memcpy( Inst + ICur, p, sizeof( pointer ) );
230+
memcpy( Inst + ICur, &p, sizeof( pointer ) );
231231
ICur += sizeof( pointer );
232232
}
233233

0 commit comments

Comments
 (0)