summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueItem.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-06-07 11:26:23 +0200
committerDamiano Galassi <[email protected]>2019-06-07 11:26:23 +0200
commitf85f228e588bc7a4d2fba43ab51eedfb475768c3 (patch)
tree97c0657365831061bc9ef8bc38e9af7ca75aac57 /macosx/HBQueueItem.m
parentb0fce31fb6da40a98ef9af26845f67d81819f5b4 (diff)
MacGui: fix warnings.
Diffstat (limited to 'macosx/HBQueueItem.m')
-rw-r--r--macosx/HBQueueItem.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBQueueItem.m b/macosx/HBQueueItem.m
index bdcbc7002..095a5dc87 100644
--- a/macosx/HBQueueItem.m
+++ b/macosx/HBQueueItem.m
@@ -77,7 +77,7 @@ static NSString *versionKey = @"HBQueueItemVersion";
- (void)encodeWithCoder:(nonnull NSCoder *)coder
{
[coder encodeInt:1 forKey:versionKey];
- encodeInt(_state);
+ encodeInt((int)_state);
encodeObject(_job);
encodeObject(_uuid);
}