Change the function argument from signed to unsigned and see it printf handles prints the values correctly. I.E.static void print_packet(unsigned char *s, int len) ...-joe
On 2/25/06, Umamaheswararao Karyampudi <[EMAIL PROTECTED]> wrote:
Hi,I am using QEMU in one of my research projects. Ilanded in
Il giorno sab, 25/02/2006 alle 10.29 -0800, Umamaheswararao Karyampudi
ha scritto:
> In ne2000_receive(), I copied the packet received to a
> static char [] and printed the packet using
> static void print_packet(char *s, int len)
> {
> int i,j;
> for (i=0;i if (i%20 == 0)
> pr
Hi,I am using QEMU in one of my research projects. I landed in a problem where I see bogus numbers being printed when I printed the packet/each word that is received from ne2000.In ne2000_receive(), I copied the packet received to a static char [] and printed the packet using static void print_pack
On Sun, 2006-02-26 at 10:01 -0800, Umamaheswararao Karyampudi wrote:
> Hi,
> I am using QEMU in one of my research projects. I
> landed in a problem where I see bogus numbers being
> printed when I printed the packet/each word that is
> received from ne2000.
>
> In ne2000_receive(), I copied the p
Hi,
I am using QEMU in one of my research projects. I
landed in a problem where I see bogus numbers being
printed when I printed the packet/each word that is
received from ne2000.
In ne2000_receive(), I copied the packet received to a
static char [] and printed the packet using
static void print_