warning: cast from pointer to integer of different size

2011-04-19 Thread Jon Sigman
,gcd_source); warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'dispatch_source_t' . . . printf(gcd_source: %08X\n,(unsigned int)gcd_source); warning: cast from pointer to integer of different size Thx ___ Cocoa-dev

Re: warning: cast from pointer to integer of different size

2011-04-19 Thread David Duncan
our_gcd_source; . . . printf(gcd_source: %08X\n,gcd_source); warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'dispatch_source_t' . . . printf(gcd_source: %08X\n,(unsigned int)gcd_source); warning: cast from pointer to integer of different size Thx

Re: warning: cast from pointer to integer of different size

2011-04-19 Thread Jon Sigman
dispatch_source_t our_gcd_source; . . . printf(gcd_source: %08X\n,gcd_source); warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'dispatch_source_t' . . . printf(gcd_source: %08X\n,(unsigned int)gcd_source); warning: cast from pointer to integer of different size