Ignore:
Timestamp:
Jan 21, 2024, 10:17:50 PM (22 months ago)
Author:
gyoung
Message:

Fix warnings and error found by C++Check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/mm-progs/videoplayer/vioplayer.c

    r2 r142  
    231231  /* Save source name */
    232232  if(argc==2)
    233     strcpy(chrSourceName, argv[1]);
     233    strncpy(chrSourceName, argv[1], CCHMAXPATH);
    234234  printf("File: %s\n", chrSourceName);
    235235
Note: See TracChangeset for help on using the changeset viewer.