diff options
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 |