Browse Source

win-capture: Fix parameter type warning

Parameter expects uint8_t*, was using char*, so just cast to fix it.
jp9000 10 years ago
parent
commit
731930af50
1 changed files with 1 additions and 1 deletions
  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 (;;) {
-		size_t len = os_process_pipe_read(pp, data, 128);
+		size_t len = os_process_pipe_read(pp, (uint8_t*)data, 128);
 		if (!len)
 			break;