[gxml] Serialization.vala: address some compile-time warnings
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] Serialization.vala: address some compile-time warnings
- Date: Thu, 22 Aug 2013 17:16:43 +0000 (UTC)
commit fbf18db392c072ea03e69d322863bc154608fd60
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 639469b..475e6c1 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]