Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7401969907594ac9632368ec53528fbd9b18f339
Commit:     7401969907594ac9632368ec53528fbd9b18f339
Parent:     88d20328cd66ee05f9b7f4d414640700db69d82b
Author:     Andi Kleen <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 11 01:52:45 2007 +0100
Committer:  Andi Kleen <[EMAIL PROTECTED]>
CommitDate: Thu Jan 11 01:52:45 2007 +0100

    [PATCH] x86-64: Fix warnings in ia32_aout.c
    
    Fix
    
    linux/arch/x86_64/ia32/ia32_aout.c: In function ‘create_aout_tables’:
    linux/arch/x86_64/ia32/ia32_aout.c:244: warning: cast from pointer to 
integer of different size
    linux/arch/x86_64/ia32/ia32_aout.c:253: warning: cast from pointer to 
integer of different size
    
    with gcc 4.3
    Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
---
 arch/x86_64/ia32/ia32_aout.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86_64/ia32/ia32_aout.c b/arch/x86_64/ia32/ia32_aout.c
index be87df5..fe83edb 100644
--- a/arch/x86_64/ia32/ia32_aout.c
+++ b/arch/x86_64/ia32/ia32_aout.c
@@ -241,7 +241,7 @@ static u32 __user *create_aout_tables(char __user *p, 
struct linux_binprm *bprm)
                        get_user(c,p++);
                } while (c);
        }
-       put_user(NULL,argv);
+       put_user(0, argv);
        current->mm->arg_end = current->mm->env_start = (unsigned long) p;
        while (envc-->0) {
                char c;
@@ -250,7 +250,7 @@ static u32 __user *create_aout_tables(char __user *p, 
struct linux_binprm *bprm)
                        get_user(c,p++);
                } while (c);
        }
-       put_user(NULL,envp);
+       put_user(0, envp);
        current->mm->env_end = (unsigned long) p;
        return sp;
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to