Explorar o código

sokol_fetch.h: fix clang -Wshorten-64-to-32 warning

Andre Weissflog %!s(int64=2) %!d(string=hai) anos
pai
achega
2135cb2355
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sokol_fetch.h

+ 1 - 1
sokol_fetch.h

@@ -1205,7 +1205,7 @@ typedef struct {
     sfetch_error_t error_code;
     bool finished;
     /* user thread only */
-    uint32_t user_data_size;
+    size_t user_data_size;
     uint64_t user_data[SFETCH_MAX_USERDATA_UINT64];
 } _sfetch_item_user_t;