diff options
| author | 2009-04-28 20:38:41 +0200 | |
|---|---|---|
| committer | 2009-04-28 20:38:41 +0200 | |
| commit | 0d301b693a84db6f6a751722359e602172da94b3 (patch) | |
| tree | 7f09b3cc7796bd375d68c31fb9735b5b8b5b00c6 /src/plist.c | |
| parent | 66614dd5c574559ca0bb92f9250e26805f8e626a (diff) | |
| download | libplist-0d301b693a84db6f6a751722359e602172da94b3.tar.gz libplist-0d301b693a84db6f6a751722359e602172da94b3.tar.bz2 | |
Fix bad type for date element
Diffstat (limited to 'src/plist.c')
| -rw-r--r-- | src/plist.c | 2 |
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) | |||
| 368 | void plist_add_sub_date_el(plist_t node, int32_t sec, int32_t usec) | 368 | void 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 | ||
| 374 | void plist_get_key_val(plist_t node, char **val) | 374 | void plist_get_key_val(plist_t node, char **val) |
