diff options
Diffstat (limited to 'src/plist.c')
| -rw-r--r-- | src/plist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plist.c b/src/plist.c index 1ff17fc..d20a252 100644 --- a/src/plist.c +++ b/src/plist.c | |||
| @@ -701,6 +701,8 @@ int plist_data_compare(const void *a, const void *b) | |||
| 701 | case PLIST_UINT: | 701 | case PLIST_UINT: |
| 702 | case PLIST_REAL: | 702 | case PLIST_REAL: |
| 703 | case PLIST_UID: | 703 | case PLIST_UID: |
| 704 | if (val_a->length != val_b->length) | ||
| 705 | return FALSE; | ||
| 704 | if (val_a->intval == val_b->intval) //it is an union so this is sufficient | 706 | if (val_a->intval == val_b->intval) //it is an union so this is sufficient |
| 705 | return TRUE; | 707 | return TRUE; |
| 706 | else | 708 | else |
