Changeset 5162:85c55ccd12a9 in roaraudio for roard/driver_raw.c


Ignore:
Timestamp:
10/16/11 20:12:40 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_raw.c

    r4708 r5162  
    3636 
    3737 if ( fh == -1 ) { 
    38   if ( (fh = open(device, O_CREAT|O_TRUNC|O_WRONLY, 0644)) == -1 ) { 
     38  if ( roar_vio_open_file(inst, device, O_CREAT|O_TRUNC|O_WRONLY, 0644) == -1 ) 
    3939   return -1; 
    40   } 
     40 } else { 
     41  if ( roar_vio_open_fh(inst, fh) == -1 ) 
     42   return -1; 
    4143 } 
    42  
    43  roar_vio_set_fh(inst, fh); 
    4444 
    4545 return 0; 
Note: See TracChangeset for help on using the changeset viewer.