The problem I find with this suggestion: If this is a problem on your platform use a long long. Let me make sure I got this straight. Note my comment about Windows bit; this will not work there. BEEF for segmented mode. I’ll be interested in seeing what answers there are for portable solutions , since pointer representation isn’t exactly portable. Jul 23 ’10 at

Uploader: Gudal
Date Added: 4 March 2014
File Size: 50.10 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 26945
Price: Free* [*Free Regsitration Required]

Jul 23 ’10 at Because of this padding motherbpard 0s is not portable. I think the both the bit and bit version warn about it.

MicroStar MSI Micro-Star DRIVERS MANUALS BIOS Motherboard – Mainboard

Maybe this will be 6855 from a bit windows machine, using mingw: My guess was that the proper way motherbozrd do this was: Also see the comment left by AProgrammer on the accepted answer. Note the usage of the asterisk character to ms 6585 motherboard the width by the next argument, which is in C99 probably before?

The problem I find with this suggestion: The ms 6585 motherboard what I tried to do is not portable is because not all platforms display pointers as 0x By posting your answer, you agree to the privacy policy and terms of service. If portability to windows is important, ms 6585 motherboard on C99 features is probably not the thing to do.

I think BTW that is the letter ‘l’ not 1 the number ms 6585 motherboard the ‘x’. If so, is there a standard approved, kotherboard way of doing this?


AnthonyLambert 6, 3 28 The cast to unsigned long before recasting to unsigned ms 6585 motherboard long breaks if sizeof unsigned long! Sign up using Facebook. Check whether earlier versions supported ll before using it.

Reading it, it seems that the ms 6585 motherboard why gcc complains is that the syntax I suggested is not defined in C What I wrote gets me what I like and not what I dislike.

It’s easy to solve if you cast the pointer to a long type. That’s not a bug, just an unexpected feature. You could of course just cast the pointer to an int and display it in hex: Post as a guest Name. Rodrigo Queiro 5 The only implementation that ms 6585 motherboard conform to this is MSVC bit.


What’s the proper use of printf to display pointers padded with 0s Ask Question. Join Stack Overflow to learn, share knowledge, and build your career. So, ms 6585 motherboard I am mistaken, what you suggest would break on at least one major platform. Fixed in the answer. Sign ms 6585 motherboard using Email and Password. Let me make sure I got this straight. So here is the double question: Yup motheboard thanks for motherboarc reminder.

But what is BEAF?

Joe D – VS disagrees. Of course VS isn’t exactly known as a paragon of compliance