Quellcode durchsuchen

fixing more signess problems https://travis-ci.org/acplt/open62541/builds/47113733#L334

Stasik0 vor 10 Jahren
Ursprung
Commit
9b8b1f71cc
1 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  1. 5 1
      examples/networklayer_tcp.c

+ 5 - 1
examples/networklayer_tcp.c

@@ -64,7 +64,11 @@ typedef struct NetworkLayerTCP {
     /* We remove the connection links only in the main thread. Attach
        to-be-deleted links with atomic operations */
     struct deleteLink {
-        UA_Int32 sockfd;
+#ifdef _WIN32
+		UA_UInt32 sockfd;
+#else
+		UA_Int32 sockfd;
+#endif
         struct deleteLink *next;
     } *deleteLinkList;
 } NetworkLayerTCP;