Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libprop Fix "address of a void*" vs. void* confus...



details:   https://anonhg.NetBSD.org/src/rev/6dfea56059c5
branches:  trunk
changeset: 764412:6dfea56059c5
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Apr 20 19:40:00 2011 +0000

description:
Fix "address of a void*" vs. void* confusion.
Part of fixing PR lib/43964.

diffstat:

 common/lib/libprop/prop_dictionary.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 3c292af31ffd -r 6dfea56059c5 common/lib/libprop/prop_dictionary.c
--- a/common/lib/libprop/prop_dictionary.c      Wed Apr 20 18:55:53 2011 +0000
+++ b/common/lib/libprop/prop_dictionary.c      Wed Apr 20 19:40:00 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: prop_dictionary.c,v 1.36 2010/09/24 22:51:52 rmind Exp $       */
+/*     $NetBSD: prop_dictionary.c,v 1.37 2011/04/20 19:40:00 martin Exp $      */
 
 /*-
  * Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@@ -523,8 +523,8 @@
        *stored_pointer1 = (void *)(idx + 1);
        *stored_pointer2 = (void *)(idx + 1);
 
-       *next_obj1 = &dict1->pd_array[idx].pde_objref;
-       *next_obj2 = &dict2->pd_array[idx].pde_objref;
+       *next_obj1 = dict1->pd_array[idx].pde_objref;
+       *next_obj2 = dict2->pd_array[idx].pde_objref;
 
        if (!prop_dictionary_keysym_equals(dict1->pd_array[idx].pde_key,
                                           dict2->pd_array[idx].pde_key))



Home | Main Index | Thread Index | Old Index