[gxml/gsoc2013] Serialization.vala: address some compile-time warnings
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml/gsoc2013] Serialization.vala: address some compile-time warnings
- Date: Sun, 28 Jul 2013 05:33:29 +0000 (UTC)
commit 175f49ee80f5325166bb59f7b35772ff4a802212
Author: Richard Schwarting <aquarichy gmail com>
Date: Sun Jul 28 01:30:11 2013 -0400
Serialization.vala: address some compile-time warnings
gxml/Serialization.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gxml/Serialization.vala b/gxml/Serialization.vala
index 0fdb062..3103760 100644
--- a/gxml/Serialization.vala
+++ b/gxml/Serialization.vala
@@ -394,7 +394,7 @@ namespace GXml {
Object obj;
unowned ObjectClass obj_class;
ParamSpec[] specs;
- bool property_found;
+ //bool property_found;
Serializable serializable = null;
obj_elem = (Element)node;
@@ -564,7 +564,7 @@ namespace GXml {
} else if (t == typeof (char)) {
int64 val;
if (ret = int64.try_parse (str, out val)) {
- dest2.set_char ((char)val);
+ dest2.set_schar ((int8)val);
}
} else if (t == typeof (uchar)) {
int64 val;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]