diff options
Diffstat (limited to 'src/common/paging.c')
-rw-r--r-- | src/common/paging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/paging.c b/src/common/paging.c index e6c1e6b9..d7c22610 100644 --- a/src/common/paging.c +++ b/src/common/paging.c @@ -499,7 +499,7 @@ int paging_si_update(struct paging_state *ps, struct gsm48_control_channel_descr { LOGP(DPAG, LOGL_INFO, "Paging SI update\n"); - memcpy(&ps->chan_desc, chan_desc, sizeof(chan_desc)); + ps->chan_desc = *chan_desc; /* FIXME: do we need to re-sort the old paging_records? */ |