mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Fix compile error with clang.
This commit is contained in:
parent
97ebe31869
commit
875be7b50c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346850
1 changed files with 11 additions and 0 deletions
11
math/octave-forge-image/files/patch-bwdist.cc
Normal file
11
math/octave-forge-image/files/patch-bwdist.cc
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- bwdist.cc-orig 2014-03-03 03:07:22.000000000 +0000
|
||||
+++ bwdist.cc 2014-03-03 03:07:36.000000000 +0000
|
||||
@@ -530,7 +530,7 @@
|
||||
// Compute optional 'index to closest object pixel', only if requested
|
||||
if (nargout > 1)
|
||||
{
|
||||
- if (numel >= pow (2, 32))
|
||||
+ if (numel >= pow (2., 32))
|
||||
retval(1) = calc_index<uint64NDArray> (bw, xdist, ydist);
|
||||
else
|
||||
retval(1) = calc_index<uint32NDArray> (bw, xdist, ydist);
|
Loading…
Add table
Reference in a new issue