Project

General

Profile

整備 #3902

C4244警告の発生箇所を修正する

Added by n-miyamoto almost 5 years ago. Updated almost 5 years ago.

Status:
終了
Priority:
通常
Assignee:
Target version:
-
Start date:
02/07/2017
Due date:
% Done:

100%

Estimated time:

Description

__int64をintに変換するときに警告が発生するため、intをsize_tに修正する。

Associated revisions

Revision 2927 (diff)
Added by miyamoto almost 5 years ago

[compat] refs #3902

Revision 2927 (diff)
Added by miyamoto almost 5 years ago

[compat] refs #3902

Revision 2947 (diff)
Added by n-ando almost 5 years ago

[compat] C style cast convrted to static_cast. refs #3902

Revision 2947 (diff)
Added by n-ando almost 5 years ago

[compat] C style cast convrted to static_cast. refs #3902

Revision 3100 (diff)
Added by n-ando almost 4 years ago

merged chages from trunk/OpenRTM-aist r2913 during 2017-02:
[compat,->RELENG_1_2] The installation of the rpm package of openrtm-aist-example and openrtm-aist-doc has been changed. refs #3893
[compat,->RELENG_1_2] Links of rtmCamera and rtmManipulator have been added to OpenRTMConfig.cmake. refs #3889
[compat,bugfix,->RELENG_1_2] Fixed r2914. refs #3889
[compat,format,->RELENG_1_2] Indent modified.
[incompat,new func,->RELENG_1_2] Logging system now supports logstream loadable modules. refs #3567
[incompat,new func,->RELENG_1_2] A function to convert from URL parameter to map has been added.
[compat,format,->RELENG_1_2] Newline added.
[incompat,new func,->RELENG_1_2] fluent-bit logger stream has been added. refs #3567
[incompat,new func,->RELENG_1_2] fluent-bit logger stream has been added. refs #3567
[compat,->RELENG_1_2] Types have been changed because of compilation warning. refs #3902
[compat,->RELENG_1_2] Some pragmas have been added to suppress warnings. refs #3901
[compat,->RELENG_1_2] Some pragmas have been added to suppress warnings. refs #3900
[build,->RELENG_1_2] Monky include path has been added.
[prop,->RELENG_1_2] ignore Makefile.in Makefile.
[compat,->RELENG_1_2] C style cast convrted to static_cast. refs #3902
[comapt,conf_file,->RELENG_1_2] fluent-bit log stream configuration example has been added rtc.conf.sample
[compat,build,->RELENG_1_2] CXXFLAGS incuding Wall -fPIC -O2 has been removed in openrtm-aist.pc. refs #3714
[compat,build,dist,
>RELENG_1_2] ClockManager.cpp was not properly included dist package.
[comapt,build,dist,->RELENG_1_2] logger ext lib is now included in dist package.
[compat,->RELENG_1_2] refs #3881
[incompat,bugfix,EC,->RELENG_1_2]Modified for OpenHRPExecutionContext. #3579

Revision 3100 (diff)
Added by n-ando almost 4 years ago

merged chages from trunk/OpenRTM-aist r2913 during 2017-02:
[compat,->RELENG_1_2] The installation of the rpm package of openrtm-aist-example and openrtm-aist-doc has been changed. refs #3893
[compat,->RELENG_1_2] Links of rtmCamera and rtmManipulator have been added to OpenRTMConfig.cmake. refs #3889
[compat,bugfix,->RELENG_1_2] Fixed r2914. refs #3889
[compat,format,->RELENG_1_2] Indent modified.
[incompat,new func,->RELENG_1_2] Logging system now supports logstream loadable modules. refs #3567
[incompat,new func,->RELENG_1_2] A function to convert from URL parameter to map has been added.
[compat,format,->RELENG_1_2] Newline added.
[incompat,new func,->RELENG_1_2] fluent-bit logger stream has been added. refs #3567
[incompat,new func,->RELENG_1_2] fluent-bit logger stream has been added. refs #3567
[compat,->RELENG_1_2] Types have been changed because of compilation warning. refs #3902
[compat,->RELENG_1_2] Some pragmas have been added to suppress warnings. refs #3901
[compat,->RELENG_1_2] Some pragmas have been added to suppress warnings. refs #3900
[build,->RELENG_1_2] Monky include path has been added.
[prop,->RELENG_1_2] ignore Makefile.in Makefile.
[compat,->RELENG_1_2] C style cast convrted to static_cast. refs #3902
[comapt,conf_file,->RELENG_1_2] fluent-bit log stream configuration example has been added rtc.conf.sample
[compat,build,->RELENG_1_2] CXXFLAGS incuding Wall -fPIC -O2 has been removed in openrtm-aist.pc. refs #3714
[compat,build,dist,
>RELENG_1_2] ClockManager.cpp was not properly included dist package.
[comapt,build,dist,->RELENG_1_2] logger ext lib is now included in dist package.
[compat,->RELENG_1_2] refs #3881
[incompat,bugfix,EC,->RELENG_1_2]Modified for OpenHRPExecutionContext. #3579

History

#1 Updated by n-miyamoto almost 5 years ago

  • Status changed from 新規 to 解決
  • % Done changed from 0 to 100

Logger.hのintをsize_tに変更可能な個所は修正した。

size_t bytes_to_write;

引数にint型、あるいは戻り値がint型の場合はint型にキャストするように明示した。

this->pbump((int)(this->pbase() - this->pptr()));

#2 Updated by n-ando almost 5 years ago

  • Status changed from 解決 to 終了

Cスタイルのキャストだったので、static_castに置き換え。

Also available in: Atom PDF