mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-07 13:49:53 +00:00
avdevice/gdigrab: suppress int to pointer cast warning
Fixes: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
parent
f4312ea138
commit
f7b7972f78
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ gdigrab_read_header(AVFormatContext *s1)
|
|||
char *p;
|
||||
name = filename + 5;
|
||||
|
||||
hwnd = (HWND) strtoull(name, &p, 0);
|
||||
hwnd = (HWND)(intptr_t) strtoull(name, &p, 0);
|
||||
|
||||
if (p == NULL || p == name || p[0] != '\0')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue