Problem | whatisthisactf |
---|---|
User | Tyx2019 |
Submission Time | 2023-04-02 02:31:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
whatisthisactf.cpp: In function ‘void set_sprintf_fmt_string(char*)’:
whatisthisactf.cpp:22:28: error: invalid conversion from ‘void (*)(int*)’ to ‘void*’ [-fpermissive]
22 | get_bytes_from_pointer(&dummy, INPUT);
| ^~~~~~
| |
| void (*)(int*)
whatisthisactf.cpp:13:35: note: initializing argument 1 of ‘void get_bytes_from_pointer(void*, char*)’
13 | void get_bytes_from_pointer(void *ptr, char *bytes)
| ~~~~~~^~~