Ethereal-dev: Re: [Ethereal-dev] MSVC warning in packet-postgresql.c(85)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 17 Feb 2004 11:00:17 +0100
On Mon, Feb 16, 2004 at 08:05:06PM +0100, Ulf Lamping wrote:
> One warning:
> 
> packet-postgresql.c(85) : warning C4244: '=' : Konvertierung von 
> 'unsigned short ' in 'unsigned char ', moeglicher Datenverlust
> 
> Could this be removed?

It should be removed - it shows a bug that clearly shows that the
code has only been tested on little endian machines.
Compiling / testing a fix as I write this.

 Ciao
    Jï¿œrg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.