memcmp as int, cast to unsigned int to match prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12717
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-10-03 Ezra Peisach <epeisach@mit.edu>
+
+ * gssapiP_generic.h (g_OID_equal): Instead of casting argument to
+ memcmp as int, cast to unsigned int to match prototype.
+
2000-08-03 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (SRCS, OBJS, STLIBOBJS): Remove util_canonhost.
#define g_OID_equal(o1,o2) \
(((o1)->length == (o2)->length) && \
- (memcmp((o1)->elements,(o2)->elements,(int) (o1)->length) == 0))
+ (memcmp((o1)->elements,(o2)->elements,(unsigned int) (o1)->length) == 0))
/* this code knows that an int on the wire is 32 bits. The type of
num should be at least this big, or the extra shifts may do weird