blob: 6f767ecc8d771125db38d2be9d8343535b814320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ai,v 1.2 2004/09/08 12:47:39 wiz Exp $
--- utils/ppsocket.cc.orig 1999-04-12 23:17:08.000000000 +0200
+++ utils/ppsocket.cc
@@ -198,7 +198,7 @@ bool ppsocket::listen(char* Host, int Po
ppsocket* ppsocket::accept(char* Peer, int MaxLen)
{
- int len;
+ unsigned int len;
ppsocket* accepted;
char* peer;
@@ -421,7 +421,7 @@ bool ppsocket::sputc(char c)
{
int i;
- cout << hex << (int)c << endl;
+ cout << std::hex << (int)c << endl;
i = writeTimeout(&c, 1, 0);
|