| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| Date: | Sat, 10 Sep 2011 12:17:37 -0400 |
| Message-Id: | <201109101617.p8AGHbbj002055@envy.delorie.com> |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | djgpp AT delorie DOT com |
| In-reply-to: | <j4fp2e$ksp$1@news.albasani.net> (message from Mok-Kong Shen on |
| Sat, 10 Sep 2011 15:37:09 +0200) | |
| Subject: | Re: A printf problem? |
| References: | <j4fp2e$ksp$1 AT news DOT albasani DOT net> |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> { unsigned long int g;
>
> g=0xcc22; printf("first: %8x %10lu\n",g,g);
Try using %8lx here.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |