Changeset 0684f35 in rtems


Ignore:
Timestamp:
Jul 28, 2017, 11:10:19 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
9d1522ed
Parents:
fd3437c
Message:

bsp/i386: Fix warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c

    rfd3437c r0684f35  
    115115    if (queried_VBE_Version >= 0x200)
    116116    {
    117         strncpy(
    118             (char *)&VBE_buffer->VbeSignature,
     117        memcpy(
     118            &VBE_buffer->VbeSignature,
    119119            VBE20plus_SIGNATURE,
    120             4*sizeof(size_t)
     120            sizeof(VBE_buffer->VbeSignature)
    121121        );
    122122    }
Note: See TracChangeset for help on using the changeset viewer.