Google Toolbox for Mac
Objective-C C Shell Other
Latest commit 3c3111d Jul 24, 2017 @markmentovai markmentovai committed with sergiocampama Cast NSInteger to long for formatting as %ld
In https://crbug.com/747643, a new version of Clang produces warnings
when attempting to format NSInteger as %zd (which is normally used for
ssize_t). Acquiesce by casting NSInteger to long and formatting using
%ld.

In the process, I audited all occurrences of %zd in GTM and found that
the remainder were being used to format size_t, which ought to use %zu,
so I’ve corrected those.

I also audited the existing uses of %zu and found them all to be
correct.
Permalink
Failed to load latest commit information.
AddressBook Change file type from UTF16 to ASCII Mar 14, 2017
AppKit 10.13 SDK (and iOS 11 equivalent) compatibility for GTM Jul 10, 2017
BuildScripts [Author: thomasvl] Jan 17, 2012
DebugUtils Remove trailing whitespaces Mar 29, 2017
Foundation Cast NSInteger to long for formatting as %ld Jul 24, 2017
GTM.xcodeproj First cut at pruning things/updating things. Oct 7, 2016
GTMiPhone.xcodeproj First cut at pruning things/updating things. Oct 7, 2016
UnitTesting Cast NSInteger to long for formatting as %ld Jul 24, 2017
XcodeConfig Added -Wreserved-id-macro and but exclude existing nonconforming macr… May 23, 2017
iPhone Cast NSInteger to long for formatting as %ld Jul 24, 2017
.swift-version Support for tvOS (#139) May 18, 2017
BuildingAndUsing.txt Add a podspec for GTM. This only adds a podspec for some of the commo… Feb 25, 2016
CONTRIBUTING.md Update the project for github migration Aug 18, 2015
GTM-Info.plist initial drop of a few sources to start things out Jan 28, 2008
GTMDefines.h Added -Wreserved-id-macro and but exclude existing nonconforming macr… May 23, 2017
GTMiPhone-Info.plist Landing a log of AppleScript/AppleEvent support code. Jun 13, 2008
GoogleToolboxForMac.podspec Add default_subspecs to help avoid testing code ended up in apps. Jun 19, 2017
LICENSE Update the project for github migration Aug 18, 2015
README.md Split back out ReleaseNotes, make README general info. Aug 20, 2015
ReleaseNotes.md First pass removing all deprecated uses of GTM_IPHONE_USE_SENTEST. Dec 5, 2016
UnitTest-Info.plist [Author: thomasvl] Jan 3, 2013

README.md