This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/7.1
in repository ffmpeg.

commit fe17413af86884a3aa15256b23f5e66a733ec666
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Mon Dec 1 21:09:34 2025 +0100
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Mon May 4 15:56:58 2026 +0200

    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 <[email protected]>
    (cherry picked from commit f7b7972f783a368142676a92f30549cee4fd5918)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavdevice/gdigrab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/gdigrab.c b/libavdevice/gdigrab.c
index 08a41c304b..fa9ba27db0 100644
--- a/libavdevice/gdigrab.c
+++ b/libavdevice/gdigrab.c
@@ -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')
         {

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to