From: Nick Bowler Date: Fri, 3 Jul 2009 19:23:50 +0000 (-0400) Subject: Minor fixes. X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/commitdiff_plain/6c10bbbd8c3e1605cb02343e689f884cda738315 Minor fixes. --- diff --git a/src/engine/texture.c b/src/engine/texture.c index e9ea07d..bc82855 100644 --- a/src/engine/texture.c +++ b/src/engine/texture.c @@ -36,11 +36,10 @@ static int deserialize(UObject *o, struct upkg_file *f) { struct texture_priv *priv = TEXTURE_GET_PRIV(o); EngineTexture *t = ENGINE_TEXTURE(o); - const GValue *val; U_OBJECT_CLASS(engine_texture_parent_class)->deserialize(o, f); - printf("Texture size: %lux%lu\n", t->usize, t->vsize); + printf("Texture size: %ux%u\n", t->usize, t->vsize); return 0; } diff --git a/src/uobject.c b/src/uobject.c index a52a3ef..5d47330 100644 --- a/src/uobject.c +++ b/src/uobject.c @@ -178,7 +178,7 @@ static int deserialize(UObject *o, struct upkg_file *f) int u_object_deserialize(GObject *obj, struct upkg_file *f) { g_return_val_if_fail(IS_U_OBJECT(obj), -1); - U_OBJECT_GET_CLASS(obj)->deserialize(U_OBJECT(obj), f); + return U_OBJECT_GET_CLASS(obj)->deserialize(U_OBJECT(obj), f); } static void u_object_init(UObject *o)