summaryrefslogtreecommitdiff
path: root/noncore/unsupported/qpdf/fixed.h
Unidiff
Diffstat (limited to 'noncore/unsupported/qpdf/fixed.h') (more/less context) (show 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 )
169 if ( f. m_f <= 0 ) 169 if ( f. m_f <= 0 )
170 return fixed<SH> ( 0, true ); 170 return fixed<SH> ( 0, true );
171 171
172 fixed<SH>::fix_t a0 = 0; 172 typename fixed<SH>::fix_t a0 = 0;
173 fixed<SH>::fix_t a1 = f. m_f; // take value as first approximation 173 typename fixed<SH>::fix_t a1 = f. m_f; // take value as first approximation
174 174
175 do { 175 do {
176 a0 = a1; 176 a0 = a1;