Fix dev-mode build on my box.
authorRussell Bryant <russell@russellbryant.com>
Wed, 1 Apr 2009 12:13:16 +0000 (12:13 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 1 Apr 2009 12:13:16 +0000 (12:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@185741 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/stringfields.h

index 2b9b7b2..c48e938 100644 (file)
@@ -290,7 +290,7 @@ typedef uint16_t ast_string_field_allocation;
                if (*__p__ != (*ptr)) {                                                                                 \
                        __ast_string_field_release_active((x)->__field_mgr_pool, (*ptr));                               \
                }                                                                                                       \
-               memcpy((void *) *__p__, __d__, __dlen__);                                                               \
+               memcpy(* (void **) __p__, __d__, __dlen__);                                                             \
        }                                                                                                               \
        } while (0)