about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-06-25 14:48:34 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-06-25 14:48:34 +0000
commite81160def298a80d49d59779aa1bb2c6329618f4 (patch)
tree7872d87ebd7e9ea6c9e698190b6f92044b498a6f /Src/system.h
parenta267832ddf4150652fde3936858841bb2edbd9ae (diff)
downloadzsh-e81160def298a80d49d59779aa1bb2c6329618f4.tar.gz
zsh-e81160def298a80d49d59779aa1bb2c6329618f4.tar.xz
zsh-e81160def298a80d49d59779aa1bb2c6329618f4.zip
18634: Tomi Vainio: work around problem with latest Sun k2 compiler
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/system.h b/Src/system.h
index c9e1a5a27..d7372924b 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -418,7 +418,7 @@ struct timezone {
  * converted to printable decimal form including the sign and the     *
  * terminating null character. Below 0.30103 > lg 2.                  *
  * BDIGBUFSIZE is for a number converted to printable binary form.    */
-#define DIGBUFSIZE ((int)(((sizeof(zlong) * 8) - 1) * 0.30103) + 3)
+#define DIGBUFSIZE ((int)(((sizeof(zlong) * 8) - 1) * 30103/100000) + 3)
 #define BDIGBUFSIZE ((int)((sizeof(zlong) * 8) + 4))
 
 /* If your stat macros are broken, we will *