Skip to content

Commit

Permalink
PNG: Use standard memcpy/sizeof
Browse files Browse the repository at this point in the history
No need to use the png version of these.
  • Loading branch information
skyjake committed Jan 3, 2012
1 parent e7cef0c commit da57dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/gl_png.c
Expand Up @@ -63,7 +63,7 @@ void PNGAPI user_error_fn(png_structp png_ptr, png_const_charp error_msg)
png_longjmp(png_ptr, 1);
#else
jmp_buf jmpbuf;
png_memcpy(jmpbuf, png_ptr->jmpbuf, png_sizeof(jmp_buf));
memcpy(jmpbuf, png_ptr->jmpbuf, sizeof(jmp_buf));
longjmp(jmpbuf, 1);
#endif
}
Expand Down

0 comments on commit da57dd5

Please sign in to comment.