mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 04:07:16 +00:00
fixed some more warnings
svn path=/trunk/; revision=15199
This commit is contained in:
parent
d421003cd4
commit
e55b576d82
5 changed files with 6 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -467,7 +467,7 @@ BOOL Ping(VOID)
|
|||
{
|
||||
INT Status;
|
||||
SOCKADDR From;
|
||||
UINT Length;
|
||||
INT Length;
|
||||
PVOID Buffer;
|
||||
UINT Size;
|
||||
PICMP_ECHO_PACKET Packet;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue