1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/www/udmsearch/files/patch-src-udmutils.c
Lars Engels 8b469c256b Fix build with gcc 4.2
Approved by:	miwi (mentor)
2007-07-14 11:01:35 +00:00

12 lines
391 B
C

--- src/udmutils.c.orig 2007-07-14 12:51:12.000000000 +0200
+++ src/udmutils.c 2007-07-14 12:51:29.000000000 +0200
@@ -724,7 +724,7 @@
tmp[i++]='0';
else while (num != 0){
tmp[i++] = digits[(unsigned long) num % (unsigned) base];
- (unsigned long) num /= (unsigned) base;
+ num /= (unsigned) base;
}
if (i > precision)
precision = i;