summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/qpdf/fixed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/unsupported/qpdf/fixed.h b/noncore/unsupported/qpdf/fixed.h
index ec0e696..44aaa5e 100644
--- a/noncore/unsupported/qpdf/fixed.h
+++ b/noncore/unsupported/qpdf/fixed.h
@@ -1,11 +1,12 @@
1#ifndef __FIXED_H__ 1#ifndef __FIXED_H__
2#define __FIXED_H__ 2#define __FIXED_H__
3 3
4#include <stdlib.h>
4#include <iostream> 5#include <iostream>
5 6
6#define _GCC_TEMPLATE_BUG_ 1 7#define _GCC_TEMPLATE_BUG_ 1
7 8
8template <unsigned int SH> class fixed { 9template <unsigned int SH> class fixed {
9public: 10public:
10 inline fixed ( int i = 0 ) : m_f ( i2f( i ) ) { } 11 inline fixed ( int i = 0 ) : m_f ( i2f( i ) ) { }
11 inline fixed ( double d ) : m_f ( d2f( d )) { } 12 inline fixed ( double d ) : m_f ( d2f( d )) { }