ソースを参照

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

Andre Weissflog 2 年 前
コミット
2135cb2355
1 ファイル変更1 行追加1 行削除
  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;