fixed some more warnings

svn path=/trunk/; revision=15199
This commit is contained in:
Thomas Bluemel 2005-05-10 08:04:08 +00:00
parent d421003cd4
commit e55b576d82
5 changed files with 6 additions and 3 deletions

View file

@ -92,7 +92,7 @@ int fgetcSocket(int s)
{
static int index = 0;
static int total = 0;
static unsigned char buffer[4096];
static char buffer[4096];
if (index == total)
{

View file

@ -467,7 +467,7 @@ BOOL Ping(VOID)
{
INT Status;
SOCKADDR From;
UINT Length;
INT Length;
PVOID Buffer;
UINT Size;
PICMP_ECHO_PACKET Packet;

View file

@ -53,6 +53,8 @@
#include <string.h>
#include "ansiprsr.h"
const int ANSIColors[] = {BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE};
// The constructor now takes different arguments and initializes different
// variables (Paul Brannan 6/15/98)
TANSIParser::TANSIParser(TConsole &RefConsole, KeyTranslator &RefKeyTrans,

View file

@ -10,7 +10,7 @@
// added this color table to make things go faster (Paul Branann 5/8/98)
enum Colors {BLACK=0, BLUE, GREEN, CYAN, RED, MAGENTA, YELLOW, WHITE};
static const int ANSIColors[] = {BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE};
extern const int ANSIColors[];
// This should be greater than the largest conceivable window size
// 200 should suffice

View file

@ -52,6 +52,7 @@ static char sccsid[] = "@(#)whois.c 8.1 (Berkeley) 6/6/93";
/* #include <netinet/in.h> */
/* #include <netdb.h> */
#include <stdio.h>
#include <stdlib.h>
/* #include <various.h> */
#include <getopt.h>