• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: glitch in my size code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glitch in my size code?


  • Subject: Re: glitch in my size code?
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 11 May 2004 01:27:00 -0400

On May 10, 2004, at 5:46 PM, Glenn Andreas wrote:

if (totalFileSize = [fileSize
objectForKey:NSFileSize])
total += [totalFileSize intValue];


Is total (properly) declared as an "unsigned long long"? File size is measured in unsigned long long, not int.



hrm.. The doc lists intValue for those, so that's likely where (s)he is getting that from.

I've filed a bug.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: glitch in my size code?
      • From: Scott Ahten <email@hidden>
References: 
 >glitch in my size code? (From: email@hidden)
 >Re: glitch in my size code? (From: Glenn Andreas <email@hidden>)

  • Prev by Date: Re: NSArrayController can't insert object
  • Next by Date: Re: NSTableView: removing the column headers programmatically
  • Previous by thread: Re: glitch in my size code?
  • Next by thread: Re: glitch in my size code?
  • Index(es):
    • Date
    • Thread