Changeset 2476


Ignore:
Timestamp:
Jun 22, 2008, 2:37:01 PM (15 years ago)
Author:
Pascal Terjan
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.