fixed some more warnings
Modified: trunk/reactos/apps/utils/net/ftp/fake.c
Modified: trunk/reactos/apps/utils/net/ping/ping.c
Modified: trunk/reactos/apps/utils/net/telnet/src/ansiprsr.cpp
Modified: trunk/reactos/apps/utils/net/telnet/src/ansiprsr.h
Modified: trunk/reactos/apps/utils/net/whois/whois.c
_____
Modified: trunk/reactos/apps/utils/net/ftp/fake.c
--- trunk/reactos/apps/utils/net/ftp/fake.c 2005-05-10 06:17:54 UTC
(rev 15198)
+++ trunk/reactos/apps/utils/net/ftp/fake.c 2005-05-10 08:04:08 UTC
(rev 15199)
@@ -92,7 +92,7 @@
{
static int index = 0;
static int total = 0;
- static unsigned char buffer[4096];
+ static char buffer[4096];
if (index == total)
{
_____
Modified: trunk/reactos/apps/utils/net/ping/ping.c
--- trunk/reactos/apps/utils/net/ping/ping.c 2005-05-10 06:17:54 UTC
(rev 15198)
+++ trunk/reactos/apps/utils/net/ping/ping.c 2005-05-10 08:04:08 UTC
(rev 15199)
@@ -467,7 +467,7 @@
{
INT Status;
SOCKADDR From;
- UINT Length;
+ INT Length;
PVOID Buffer;
UINT Size;
PICMP_ECHO_PACKET Packet;
_____
Modified: trunk/reactos/apps/utils/net/telnet/src/ansiprsr.cpp
--- trunk/reactos/apps/utils/net/telnet/src/ansiprsr.cpp
2005-05-10 06:17:54 UTC (rev 15198)
+++ trunk/reactos/apps/utils/net/telnet/src/ansiprsr.cpp
2005-05-10 08:04:08 UTC (rev 15199)
@@ -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,
_____
Modified: trunk/reactos/apps/utils/net/telnet/src/ansiprsr.h
--- trunk/reactos/apps/utils/net/telnet/src/ansiprsr.h 2005-05-10
06:17:54 UTC (rev 15198)
+++ trunk/reactos/apps/utils/net/telnet/src/ansiprsr.h 2005-05-10
08:04:08 UTC (rev 15199)
@@ -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
_____
Modified: trunk/reactos/apps/utils/net/whois/whois.c
--- trunk/reactos/apps/utils/net/whois/whois.c 2005-05-10 06:17:54 UTC
(rev 15198)
+++ trunk/reactos/apps/utils/net/whois/whois.c 2005-05-10 08:04:08 UTC
(rev 15199)
@@ -52,6 +52,7 @@
/* #include <netinet/in.h> */
/* #include <netdb.h> */
#include <stdio.h>
+#include <stdlib.h>
/* #include <various.h> */
#include <getopt.h>
Show replies by date