Livejournal
Log in
Post
Friends
My journal
deviant_
My moment of Zen.
Nov 22, 2006 17:02
So, reading through some code today, I came across this bit: pvh_dlocn_xl->offset = xlate64(UINT64_C(0));
pvh_dlocn_xl->size = xlate64(UINT64_C(0));
That is all.
Leave a comment
Comments 3
grimepoch
November 22 2006, 22:21:58 UTC
So is that like double-y casting 0 to two different 64 bit data types?
Reply
deviant_
November 22 2006, 22:25:31 UTC
Casting to 64-bit and then byte-swapping it.
Reply
grimepoch
November 22 2006, 22:49:08 UTC
Hahahaha!
// Not all zeros are created equal.
Great comment to put above it ;)
Reply
Leave a comment
Up
Comments 3
Reply
Reply
// Not all zeros are created equal.
Great comment to put above it ;)
Reply
Leave a comment