libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] [PATCH 07/11] ppc64: remove compile warnings from


From: Tommi Rantala
Subject: Re: [Libunwind-devel] [PATCH 07/11] ppc64: remove compile warnings from wchar test.
Date: Tue, 11 Sep 2012 09:09:41 +0300

2012/9/11 Mike Frysinger <address@hidden>:
> On Mon, Sep 10, 2012 at 8:21 PM, Cody P Schafer wrote:
>> -  int i;
>> +  unsigned i;
>>    int ret;
>>
>> -  printf("wcslen(wstring) = %d\n", wcslen(wstring));
>> +  printf("wcslen(wstring) = %lu\n", (long unsigned) wcslen(wstring));
>
> NAK: wcslen returns a size_t.  you should use that type for "i", and
> then use %zu.

Since nobody has any idea why the test should exist in libunwind, can
we please just "git rm" it.

Tommi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]