Ethereal-cvs: [Ethereal-cvs] rev 15110: /trunk/epan/dissectors/: packet-afp.c

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

Date: Wed, 27 Jul 2005 01:02:05 GMT
User: guy
Date: 2005/07/26 08:02 PM

Log:
 *Removing* an include is usally not the right way of removing warnings;
 if some function takes, for example, a "char *" as an argument, but
 you're passing it an "unsigned char *", you don't squelch the warning by
 removing the include of the header that declares that function (you then
 get warnings about the function not being declared, at least with some
 compilers), you put in a cast (if the signedness doesn't matter) or
 arrange that you pass a "char *".

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +1 -1      packet-afp.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=15110&view=rev