fix: minor xcode warnings in macOS client (#3174)
This commit is contained in:
parent
9170c0f5fc
commit
f5e6c5b782
|
@ -115,7 +115,7 @@ static void action_callback_PUSH(
|
|||
tr_variant* node = get_node(jsn);
|
||||
data->stack.push_back(node);
|
||||
|
||||
int const depth = std::size(data->stack);
|
||||
size_t const depth = std::size(data->stack);
|
||||
size_t const n = depth < MaxDepth ? data->preallocGuess[depth] : 0;
|
||||
if (state->type == JSONSL_T_LIST)
|
||||
{
|
||||
|
|
|
@ -150,7 +150,6 @@
|
|||
|
||||
//set auto import
|
||||
NSString* autoPath;
|
||||
VDKQueue* x = [(Controller*)[NSApp delegate] fileWatcherQueue];
|
||||
if ([_fDefaults boolForKey:@"AutoImport"] && (autoPath = [_fDefaults stringForKey:@"AutoImportDirectory"]))
|
||||
{
|
||||
[((Controller*)NSApp.delegate).fileWatcherQueue addPath:autoPath.stringByExpandingTildeInPath
|
||||
|
|
|
@ -227,7 +227,7 @@ tr_session* fLib = NULL;
|
|||
else
|
||||
{
|
||||
self.fNumOpenedField.stringValue = [NSString
|
||||
stringWithFormat:NSLocalizedString(@"%lu times", "stats window -> times opened"), statsAll.sessionCount];
|
||||
stringWithFormat:NSLocalizedString(@"%llu times", "stats window -> times opened"), statsAll.sessionCount];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue