This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: FYI: Small build fix for unusual configuration
- From: Petr Machata <pmachata at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 11 Apr 2011 19:22:06 +0200
- Subject: Re: FYI: Small build fix for unusual configuration
This might be just shifting the problem into the future, but this works
with less code and will make it easier to add more formats, should that
be necessary:
> for (size_t i = 0;
>- i < sizeof vmlinux_suffixes / sizeof vmlinux_suffixes[0];
>+ i + 1 < (sizeof vmlinux_suffixes / sizeof vmlinux_suffixes[0]) + 1;
PM