Changeset 330 for releases

Show
Ignore:
Timestamp:
08/15/03 09:16:32 (5 years ago)
Author:
okir
Message:

- fixed a few compiler warnings

Location:
releases/openct-0.1.0/src/ifd
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • releases/openct-0.1.0/src/ifd/ifd-eutron.c

    r309 r330  
    88#include <stdlib.h> 
    99#include <string.h> 
     10#include <unistd.h> 
    1011#include "internal.h" 
    1112 
     
    138139{ 
    139140        return ifd_usb_control(reader->device, 0x42, 0x01, 0, 0, 
    140                                 buffer, len, 1000); 
     141                                (void *) buffer, len, 1000); 
    141142} 
    142143 
  • releases/openct-0.1.0/src/ifd/sys-linux.c

    r306 r330  
    2222#include <stdio.h> 
    2323#include <signal.h> 
     24#include <stdlib.h> 
     25#include <unistd.h> 
    2426#include <errno.h> 
    2527#include "internal.h"