浏览代码

win-capture: Fix parameter type warning

Parameter expects uint8_t*, was using char*, so just cast to fix it.
jp9000 10 年之前
父节点
当前提交
731930af50
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/win-capture/load-graphics-offsets.c

+ 1 - 1
plugins/win-capture/load-graphics-offsets.c

@@ -61,7 +61,7 @@ bool load_graphics_offsets(bool is32bit)
 	}
 	}
 
 
 	for (;;) {
 	for (;;) {
-		size_t len = os_process_pipe_read(pp, data, 128);
+		size_t len = os_process_pipe_read(pp, (uint8_t*)data, 128);
 		if (!len)
 		if (!len)
 			break;
 			break;