mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Use SUBinaryDeltaMajorVersion instead of uint16_t for this cast
This commit is contained in:
1 parent
c2cb3094af
commit
dbc9123dce
1 file changed
+1
-1
Vendored
+1
-1
@@ -45,7 +45,7 @@ int main(int __unused argc, char __unused *argv[])
|
||||
return 1;
|
||||
}
|
||||
// Ignore minor version if it's supplied
|
||||
patchVersion = (uint16_t)[[versionComponents[1] componentsSeparatedByString:@"."][0] intValue];
|
||||
patchVersion = (SUBinaryDeltaMajorVersion)[[versionComponents[1] componentsSeparatedByString:@"."][0] intValue];
|
||||
}
|
||||
|
||||
NSString *oldPath = args[args.count - 3];
|
||||
|
||||
Reference in new issue
Block a user