mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 10:04:37 +08: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>
(cherry picked from commit f7b7972f78)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
1 parent
fe02e9c126
commit
fe17413af8
1 file changed
+1
-1
@@ -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