LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File otp_src_R15B03-1-wx-wxe_gl.patch of Package erlang (Project home:Ledest:erlang:R15)

diff -Ndurp otp_src_R15B03-1/lib/wx/c_src/wxe_gl.cpp otp_src_R15B03-1-wx-wxe_gl/lib/wx/c_src/wxe_gl.cpp
--- otp_src_R15B03-1/lib/wx/c_src/wxe_gl.cpp	2012-12-06 16:02:45.000000000 +0200
+++ otp_src_R15B03-1-wx-wxe_gl/lib/wx/c_src/wxe_gl.cpp	2015-01-18 19:32:08.000000000 +0200
@@ -138,7 +138,7 @@ void gl_dispatch(int op, char *bp,ErlDrv
     else {
       ErlDrvTermData rt[] = // Error msg
 	{ERL_DRV_ATOM, driver_mk_atom((char *) "_egl_error_"),
-	 ERL_DRV_INT,  op,
+	 ERL_DRV_INT, ErlDrvTermData(op),
 	 ERL_DRV_ATOM, driver_mk_atom((char *) "no_gl_context"),
 	 ERL_DRV_TUPLE,3};
       driver_send_term(WXE_DRV_PORT,caller,rt,8);