Browse Source

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

Andre Weissflog 2 năm trước cách đây
mục cha
commit
2135cb2355
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;