forked from osmocom/wireshark
Try to get rid of some warnings.
svn path=/trunk/; revision=54626
This commit is contained in:
parent
43252e322e
commit
8da8e47ab1
|
@ -752,7 +752,7 @@ static kind_t * getKindFromId(guint32 id) {
|
|||
|
||||
static void* uat_kindid_copy_cb(void* n, const void* o, size_t siz _U_) {
|
||||
kind_t * new_record = (kind_t *)n;
|
||||
const kind_t* old_record = (kind_t *)o;
|
||||
const kind_t* old_record = (const kind_t *)o;
|
||||
|
||||
if (old_record->name) {
|
||||
new_record->name = g_strdup(old_record->name);
|
||||
|
|
|
@ -586,7 +586,7 @@ static void *
|
|||
uat_key_record_copy_cb(void *n, const void *o, size_t siz _U_)
|
||||
{
|
||||
uat_key_record_t *new_key = (uat_key_record_t *)n;
|
||||
const uat_key_record_t *old_key = (uat_key_record_t *)o;
|
||||
const uat_key_record_t *old_key = (const uat_key_record_t *)o;
|
||||
|
||||
if (old_key->string) {
|
||||
new_key->string = g_strdup(old_key->string);
|
||||
|
|
Loading…
Reference in New Issue