X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fcore%2Fioctl32%2Ftimer32.c;h=5f1a2d97a873a0fd0d24f5f5316010ca002a9676;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=ce49daa5866fc2d2d0270c2606f803c5b8320376;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/sound/core/ioctl32/timer32.c b/sound/core/ioctl32/timer32.c index ce49daa58..5f1a2d97a 100644 --- a/sound/core/ioctl32/timer32.c +++ b/sound/core/ioctl32/timer32.c @@ -41,9 +41,9 @@ struct sndrv_timer_info32 { {\ COPY(flags);\ COPY(card);\ - memcpy(dst->id, src->id, sizeof(src->id));\ - memcpy(dst->name, src->name, sizeof(src->name));\ - COPY(resolution);\ + COPY_ARRAY(id);\ + COPY_ARRAY(name);\ + COPY_CVT(resolution);\ } struct sndrv_timer_status32 { @@ -57,8 +57,8 @@ struct sndrv_timer_status32 { #define CVT_sndrv_timer_status()\ {\ - COPY(tstamp.tv_sec);\ - COPY(tstamp.tv_nsec);\ + COPY_CVT(tstamp.tv_sec);\ + COPY_CVT(tstamp.tv_nsec);\ COPY(resolution);\ COPY(lost);\ COPY(overrun);\