diff options
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 f0f0028..3f86105 100644 --- a/src/plist.c +++ b/src/plist.c | |||
| @@ -1548,7 +1548,7 @@ void plist_set_data_val(plist_t node, const char *val, uint64_t length) | |||
| 1548 | void plist_set_date_val(plist_t node, int32_t sec, int32_t usec) | 1548 | void plist_set_date_val(plist_t node, int32_t sec, int32_t usec) |
| 1549 | { | 1549 | { |
| 1550 | double val = (double)sec + (double)usec / 1000000; | 1550 | double val = (double)sec + (double)usec / 1000000; |
| 1551 | plist_set_element_val(node, PLIST_DATE, &val, sizeof(struct timeval)); | 1551 | plist_set_element_val(node, PLIST_DATE, &val, sizeof(double)); |
| 1552 | } | 1552 | } |
| 1553 | 1553 | ||
| 1554 | int plist_bool_val_is_true(plist_t boolnode) | 1554 | int plist_bool_val_is_true(plist_t boolnode) |
