mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
- Fix build with clang
PR: 174240 Submitted by: Keith White <kwhite@uottawa.ca> Approved by: maintainer
This commit is contained in:
parent
69f2318b54
commit
4a9a949e57
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315469
11
devel/dev86/files/patch-as__genlist.c
Normal file
11
devel/dev86/files/patch-as__genlist.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- as/genlist.c.orig 2001-06-23 22:13:19.000000000 +0200
|
||||
+++ as/genlist.c 2013-03-10 18:40:54.000000000 +0100
|
||||
@@ -119,7 +119,7 @@ register char *where;
|
||||
power = 5; /* actually 1 more than power */
|
||||
do
|
||||
{
|
||||
- for (digit = '0', power_of_10 = (powers_of_10 - 1)[power];
|
||||
+ for (digit = '0', power_of_10 = powers_of_10[power - 1];
|
||||
num >= power_of_10; num -= power_of_10)
|
||||
++digit;
|
||||
if (power <= width)
|
Loading…
Reference in New Issue
Block a user