Yeah, but just try byte swapping in visual basic ... it can be done!  Thanks
for the warning clean up pass, it's very much appreciated!

Curt.


On Fri, Aug 21, 2009 at 4:45 PM, Torsten Dreyer wrote:

> While iterating through the source files, trying to eliminate the warnings,
> I
> just found this precious line of code (some more of them in the same file)
>
>  *((float*)&buf[length]) = sg_bswap_32(*(uint32_t*)&val);
>
> The beauty of pointers - poor Java, C# et al developers. You will never see
> something alike ;-)
>
> Torsten
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>



-- 
Curtis Olson: http://baron.flightgear.org/~curt/
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to