--- orig/src/views.cpp 2006-03-24 14:19:26.000000000 +0100 +++ dest/src/views.cpp 2006-03-24 14:20:41.000000000 +0100 @@ -257,7 +257,7 @@ // then just store the coordinates... - fGL * ptr2 = (fGL *) ((i32u) udata + sizeof(i32s)); i32s counter = 0; + fGL * ptr2 = (fGL *) ((long) udata + sizeof(i32s)); i32s counter = 0; for (iter_al it1 = mdl->GetAtomsBegin();it1 != mdl->GetAtomsEnd();it1++) { const fGL * cdata = (* it1).GetCRD(cset); @@ -278,7 +278,7 @@ return; } - fGL * ptr2 = (fGL *) ((i32u) udata + sizeof(i32s)); i32s counter = 0; + fGL * ptr2 = (fGL *) ((long) udata + sizeof(i32s)); i32s counter = 0; for (iter_al it1 = prj->GetAtomsBegin();it1 != prj->GetAtomsEnd();it1++) { const i32s cset = 0; // how to set this?!?!?! --- orig/src/camera.cpp 2006-03-24 14:24:44.000000000 +0100 +++ dest/src/camera.cpp 2006-03-24 14:25:08.000000000 +0100 @@ -576,7 +576,7 @@ fGL r3 = tmp1 * tmp2; const dummy_object * name = this; - glPushName(GLNAME_LIGHT); glPushName((iGLu) name); + glPushName(GLNAME_LIGHT); glPushName((long) name); glPushMatrix(); SetModelView();