diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2003-02-23 23:51:07 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2003-02-23 23:51:07 +0000 |
commit | 4caa5b52e02ea3f3cf92ab43be9450a3cd4444e9 (patch) | |
tree | 91d57c02021d96bf3b9edb3101757dabb8108be9 /misc/qmc/files/patch-main.cc | |
parent | graphics/gauche-gl to 0.2.2 (diff) |
Fix build on -CURRENT (GCC3).
Diffstat (limited to 'misc/qmc/files/patch-main.cc')
-rw-r--r-- | misc/qmc/files/patch-main.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/qmc/files/patch-main.cc b/misc/qmc/files/patch-main.cc new file mode 100644 index 000000000000..274a08ee0df8 --- /dev/null +++ b/misc/qmc/files/patch-main.cc @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- main.cc.orig Mon Feb 24 00:41:46 2003 ++++ main.cc Mon Feb 24 00:43:25 2003 +@@ -166,7 +166,7 @@ + var= new BOOL[anz];
+
+ //number of possibilities +- help=pow(2,anz);
++ help=pow((unsigned short)2,(unsigned short)anz);
+
+ //create boolean array + erg = new bool[help];
+@@ -242,7 +242,7 @@ +
+
+ //number of possibilty +- help=pow(2,anz);
++ help=pow((unsigned short)2,(unsigned short)anz);
+
+
+ //create boolean array |