Revision 74a5d4ae input.c

View differences:

input.c
30 30
  struct input_desc *res;
31 31
  struct timeval tv;
32 32

  
33
  res = (struct input_desc *)malloc(sizeof(struct input_desc));
33
  res = malloc(sizeof(struct input_desc));
34 34
  if (res == NULL) {
35 35
    return NULL;
36 36
  }

Also available in: Unified diff