mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-05 14:30:00 +01: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:
@@ -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')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user