Make protocol buffers be unsigned, since we're comparing against
authorTheodore Tso <tytso@mit.edu>
Wed, 19 Oct 1994 16:39:09 +0000 (16:39 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 19 Oct 1994 16:39:09 +0000 (16:39 +0000)
unsigned data.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4543 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/krlogind.c

index 274da338b581a266482cb3b218d8957a55aaee59..74e43a8ea81c6d28907ee53c2dbec9ae2c60a4da 100644 (file)
@@ -1,3 +1,8 @@
+Wed Oct 19 12:36:47 1994  Theodore Y. Ts'o  (tytso@dcl)
+
+       * krlogind.c (protocol): Make protocol buffers be unsigned, since
+               we're comparing against unsigned data.
+
 Tue Oct 18 15:48:37 1994  Mark Eichin  (eichin@cygnus.com)
 
        * configure.in (HAVE_STREAMS): test for streams interface headers
index 257ddbbdf986640e1f78b04e3aabd0cf1808f62d..45ab1a0e25f376eaabc8165443d38a0a9905a83e 100644 (file)
@@ -891,7 +891,7 @@ control(pty, cp, n)
 protocol(f, p)
      int f, p;
 {
-    char pibuf[1024], fibuf[1024], *pbp, *fbp;
+    unsigned char pibuf[1024], fibuf[1024], *pbp, *fbp;
     register pcc = 0, fcc = 0;
     int cc;
     char cntl;