minor fix to qemu_persistent_hook example

This commit is contained in:
van Hauser
2020-03-17 16:10:34 +01:00
parent e194acdd79
commit dae249dc71
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#include <stdio.h>
int target_func(char *buf, int size) {
int target_func(unsigned char *buf, int size) {
printf("buffer:%p, size:%p\n", buf, size);
switch (buf[0]) {