From 0d301b693a84db6f6a751722359e602172da94b3 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Tue, 28 Apr 2009 20:38:41 +0200 Subject: Fix bad type for date element --- src/plist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plist.c b/src/plist.c index c3c9e7b..4fc2780 100644 --- a/src/plist.c +++ b/src/plist.c @@ -368,7 +368,7 @@ void plist_add_sub_unicode_el(plist_t node, const char *val) void plist_add_sub_date_el(plist_t node, int32_t sec, int32_t usec) { GTimeVal val = { sec, usec }; - plist_add_sub_element(node, PLIST_UNICODE, &val, sizeof(GTimeVal)); + plist_add_sub_element(node, PLIST_DATE, &val, sizeof(GTimeVal)); } void plist_get_key_val(plist_t node, char **val) -- cgit v1.1-32-gdbae