Dominik Madarász 7 yıl önce
ebeveyn
işleme
d80b40c80c
3 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. 2 0
      include/enet/types.h
  2. 1 1
      package.json
  3. 2 2
      win32.c

+ 2 - 0
include/enet/types.h

@@ -5,6 +5,8 @@
 #ifndef __ENET_TYPES_H__
 #define __ENET_TYPES_H__
 
+#include <stdint.h>
+
 typedef unsigned char enet_uint8;       /**< unsigned 8-bit type  */
 typedef unsigned short enet_uint16;     /**< unsigned 16-bit type */
 typedef unsigned int enet_uint32;      /**< unsigned 32-bit type */

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "enet.c",
-  "version": "1.3.14",
+  "version": "1.3.15",
   "description": "ENet reliable UDP networking library Edit",
   "main": "include/enet/enet.h",
   "directories": {

+ 2 - 2
win32.c

@@ -41,10 +41,10 @@ enet_deinitialize (void)
     WSACleanup ();
 }
 
-enet_uint32
+enet_uint64
 enet_host_random_seed (void)
 {
-    return (enet_uint32) timeGetTime ();
+    return (enet_uint64) timeGetTime ();
 }
 
 enet_uint64