Re: invalid operands to binary?
Re: invalid operands to binary?
- Subject: Re: invalid operands to binary?
- From: Chris Ridd <email@hidden>
- Date: Fri, 14 May 2004 18:58:40 +0100
On 14/5/04 5:50 pm, email@hidden <email@hidden> wrote:
>
why does this:
>
unsigned long long *total;
>
unsigned long long totalFileSizeK = total/1024;
>
>
give me this:
>
invalid operands to binary /
>
>
is there something easy i'm missing here?
You're dividing a pointer, as total is an unsigned long long *.
Remove the '*'.
Cheers,
Chris
_______________________________________________
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.