This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bzero()...



Just noted something strange. When I create a socket structure with:

struct sockaddr_in socket1;

And then later on in the program call bzero() like this:

bzero(&socket1, sizeof(socket1);

I get a compiler warning about passing argument 1 from an incompatable
pointer type. Any idea what's going on here?

- Greg Neujahr
  keetnet@wilmington.net


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]