Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/arch/arm32/dev



In article <20010924170054.7910BB008%cvs.netbsd.org@localhost>,
Richard Earnshaw <rearnsha%netbsd.org@localhost> wrote:
>
>Module Name:   syssrc
>Committed By:  rearnsha
>Date:          Mon Sep 24 17:00:53 UTC 2001
>
>Modified Files:
>       syssrc/sys/arch/arm32/dev: md_hooks.c
>
>Log Message:
>Hmm, on a.out platforms we have
>       size_t == unsigned int
>on elf platforms we have
>       size_t == unsigned long int
>
>So use %ld when printing and cast md->md_size to long.
>

Better use %lu when printing and cast md->md_size to unsigned long.

christos



Home | Main Index | Thread Index | Old Index