Fix a long long issues, detected by g++ -pedantic. Bug reported by

Jens Seidel <jensseidel@users.sf.net>.
This commit is contained in:
Laurent Rineau 2010-08-03 10:27:42 +00:00
parent 7268551fa7
commit 3493b66b1f
1 changed files with 5 additions and 1 deletions

View File

@ -26,6 +26,7 @@
#define CGAL_IO_TAGS_H
#include <cstddef>
#include <CGAL/compiler_config.h>
namespace CGAL {
@ -43,14 +44,17 @@ template<> struct Io_traits<char>{ typedef io_Read_write Io_tag; };
template<> struct Io_traits<short> { typedef io_Read_write Io_tag; };
template<> struct Io_traits<int> { typedef io_Read_write Io_tag; };
template<> struct Io_traits<long> { typedef io_Read_write Io_tag; };
template<> struct Io_traits<long long> { typedef io_Read_write Io_tag; };
template<> struct Io_traits<unsigned char>{ typedef io_Read_write Io_tag; };
template<> struct Io_traits<unsigned short> { typedef io_Read_write Io_tag; };
template<> struct Io_traits<unsigned int> { typedef io_Read_write Io_tag; };
template<> struct Io_traits<unsigned long> { typedef io_Read_write Io_tag; };
#ifndef CGAL_CFG_NO_CPP0X_LONG_LONG
template<> struct Io_traits<long long> { typedef io_Read_write Io_tag; };
template<> struct Io_traits<unsigned long long> { typedef io_Read_write Io_tag; };
#endif
template<> struct Io_traits<float> { typedef io_Read_write Io_tag; };
template<> struct Io_traits<double> { typedef io_Read_write Io_tag; };