summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qpdf/fixed.h
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/qpdf/fixed.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/fixed.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/qpdf/fixed.h b/noncore/unsupported/qpdf/fixed.h
index d073421..ec0e696 100644
--- a/noncore/unsupported/qpdf/fixed.h
+++ b/noncore/unsupported/qpdf/fixed.h
@@ -169,8 +169,8 @@ template <unsigned int SH> inline fixed<SH> sqrt ( const fixed<SH> &f )
if ( f. m_f <= 0 )
return fixed<SH> ( 0, true );
- fixed<SH>::fix_t a0 = 0;
- fixed<SH>::fix_t a1 = f. m_f; // take value as first approximation
+ typename fixed<SH>::fix_t a0 = 0;
+ typename fixed<SH>::fix_t a1 = f. m_f; // take value as first approximation
do {
a0 = a1;