summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plist.c2
1 files changed, 1 insertions, 1 deletions
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)
368void plist_add_sub_date_el(plist_t node, int32_t sec, int32_t usec) 368void plist_add_sub_date_el(plist_t node, int32_t sec, int32_t usec)
369{ 369{
370 GTimeVal val = { sec, usec }; 370 GTimeVal val = { sec, usec };
371 plist_add_sub_element(node, PLIST_UNICODE, &val, sizeof(GTimeVal)); 371 plist_add_sub_element(node, PLIST_DATE, &val, sizeof(GTimeVal));
372} 372}
373 373
374void plist_get_key_val(plist_t node, char **val) 374void plist_get_key_val(plist_t node, char **val)