Ignore:
Timestamp:
06/22/08 14:37:01 (5 years ago)
Author:
pterjan
Message:
  • Fix a warning
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/attach.c

    r2474 r2476  
    212212    addr.sun_family = AF_UNIX; 
    213213    strcpy(addr.sun_path,socket_path); 
    214     if (connect(sock, &addr, sizeof(addr)) < 0) 
     214    if (connect(sock, (struct sockaddr *)&addr, sizeof(addr)) < 0) 
    215215    { 
    216216        perror("request_attach:connect"); 
Note: See TracChangeset for help on using the changeset viewer.