浏览代码

[F] Comparison between signed and unsigned integer.

Alexandr Arutjunov 9 年之前
父节点
当前提交
e61fc06c40
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      contrib/Open3DGC/o3dgcSC3DMCDecoder.h

+ 2 - 2
contrib/Open3DGC/o3dgcSC3DMCDecoder.h

@@ -1,4 +1,4 @@
-/*
+/*
 Copyright (c) 2013 Khaled Mammou - Advanced Micro Devices, Inc.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -63,7 +63,7 @@ namespace o3dgc
                                                   const BinaryStream & bstream);
         const SC3DMCStats &         GetStats()    const { return m_stats;}
         unsigned long               GetIterator() const { return m_iterator;}
-        O3DGCErrorCode              SetIterator(unsigned long iterator) { m_iterator = iterator;}
+		O3DGCErrorCode              SetIterator(unsigned long iterator) { m_iterator = iterator; return O3DGC_OK; }
         
 
     private: