VirtualBox

Changeset 343 in kBuild for trunk


Ignore:
Timestamp:
Dec 11, 2005 4:02:21 AM (19 years ago)
Author:
bird
Message:

missing unlink proto, cast malloc result to make g++ happy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kDepPre/kDepPre.c

    r342 r343  
    3939# include <dirent.h>
    4040#endif
     41#ifndef __WIN32__
     42# include <unistd.h>
     43#endif
    4144
    4245#ifdef HAVE_FGETC_UNLOCKED
     
    474477     * Add it.
    475478     */
    476     pDep = malloc(sizeof(*pDep) + cchFilename);
     479    pDep = (PDEP)malloc(sizeof(*pDep) + cchFilename);
    477480    if (!pDep)
    478481    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette