Changeset 1652:940ffafab455 in roaraudio for libroar/vio_cmd.c


Ignore:
Timestamp:
05/07/09 17:37:47 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do a better casting on exec()s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_cmd.c

    r1612 r1652  
    181181     _exit(1); 
    182182 
    183     execlp("/bin/sh", "/bin/sh", "-c", child->cmd, NULL); 
     183    execlp("/bin/sh", "/bin/sh", "-c", child->cmd, (char*)NULL); 
    184184 
    185185    _exit(1); 
Note: See TracChangeset for help on using the changeset viewer.