mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Remove warning: C++11 requires a space between string literal and macro (#874)
On Ubuntu 17.04, the default gcc compiler version is 6.3.0. It switch standard from c++98 to c++11. So it would generate verbose warnings.
This commit is contained in:
parent
a58874178b
commit
815d50f00a
32 changed files with 114 additions and 114 deletions
|
@ -1470,7 +1470,7 @@ int SrsAmf0Date::read(SrsBuffer* stream)
|
|||
}
|
||||
|
||||
_date_value = stream->read_8bytes();
|
||||
srs_verbose("amf0 read date success. date=%"PRId64, _date_value);
|
||||
srs_verbose("amf0 read date success. date=%" PRId64, _date_value);
|
||||
|
||||
// time zone
|
||||
// While the design of this type reserves room for time zone offset
|
||||
|
@ -1510,7 +1510,7 @@ int SrsAmf0Date::write(SrsBuffer* stream)
|
|||
}
|
||||
|
||||
stream->write_8bytes(_date_value);
|
||||
srs_verbose("amf0 write date success. date=%"PRId64, _date_value);
|
||||
srs_verbose("amf0 write date success. date=%" PRId64, _date_value);
|
||||
|
||||
// time zone
|
||||
if (!stream->require(2)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue