Hi,

I have problem with c++ whith agar from trunk. Looks like cast crap

Here path:

────────8<────[ CUT patch ]────8<─────────────
Index: core/variable.h
===================================================================
--- core/variable.h     (revision 8150)
+++ core/variable.h     (working copy)
@@ -570,7 +570,7 @@
 static __inline__ AG_Variable *
 AG_GetVariableLocked(void *pObj, const char *name)
 {
-       AG_Object *obj = pObj;
+       AG_Object *obj = (AG_Object *) pObj;
        AG_Variable *V;
        Uint i;
        
────────>8────[ /CUT patch ]────>8────────────

--
regards,
 Olexandr

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to