]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix a compile warning.
authorTed Lemon <source@isc.org>
Thu, 17 Aug 2000 19:41:48 +0000 (19:41 +0000)
committerTed Lemon <source@isc.org>
Thu, 17 Aug 2000 19:41:48 +0000 (19:41 +0000)
omapip/auth.c
omapip/buffer.c

index f5ce57bcbc2c2040ba3fd87dad0c1cbdfac79d3c..1de76c0505bd7ec7a43ef5dcd876c474dd854f0a 100644 (file)
 
 #ifndef lint
 static char ocopyright[] =
-"$Id: auth.c,v 1.1 2000/08/03 21:00:11 neild Exp $ Copyright 1998-2000 The Internet Software Consortium.";
+"$Id: auth.c,v 1.2 2000/08/17 19:41:24 mellon Exp $ Copyright 1998-2000 The Internet Software Consortium.";
 #endif
 
 #include <omapip/omapip_p.h>
 
-OMAPI_OBJECT_ALLOC (omapi_auth_key, omapi_auth_key_t, omapi_type_auth_key);
+OMAPI_OBJECT_ALLOC (omapi_auth_key, omapi_auth_key_t, omapi_type_auth_key)
 
 static struct hash_table *auth_key_hash = (struct hash_table *)0;
 HASH_FUNCTIONS_DECL (omapi_auth_key, const char *, omapi_auth_key_t)
@@ -160,6 +160,7 @@ isc_result_t omapi_auth_key_lookup (omapi_object_t **h,
 
 
        if (!omapi_auth_key_hash_lookup ((omapi_auth_key_t **)h, auth_key_hash,
+                                        (const char *)
                                         name -> value -> u.buffer.value,
                                         name -> value -> u.buffer.len, MDL)) {
                omapi_value_dereference (&name, MDL);
index e4bdc19a9e5fe07ce91b74a0961cb8144db6cb4a..cc7b514bc5719328605f10f08ac27aabbc6c58ad 100644 (file)
@@ -252,6 +252,7 @@ isc_result_t omapi_connection_copyout (unsigned char *buf,
                                                (sig_flags,
                                                 c -> in_key,
                                                 &c -> in_context,
+                                                (unsigned char *)
                                                 &buffer -> buf [first_byte],
                                                 bytes_this_copy,
                                                 (omapi_typed_data_t **)0);