mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
fix return type in assertions
This commit is contained in:
parent
5ad50c7bcd
commit
cbb0cd085e
@ -386,8 +386,8 @@ get_be_uint16() {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE PN_uint32 DatagramIterator::
|
||||
get_be_uint32() {
|
||||
nassertr(_datagram != (const Datagram *)NULL, 0.0);
|
||||
nassertr(_current_index < _datagram->get_length(), 0.0);
|
||||
nassertr(_datagram != (const Datagram *)NULL, 0);
|
||||
nassertr(_current_index < _datagram->get_length(), 0);
|
||||
|
||||
PN_uint32 tempvar;
|
||||
// Avoid reading junk data off the end of the datagram:
|
||||
@ -407,8 +407,8 @@ get_be_uint32() {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE PN_uint64 DatagramIterator::
|
||||
get_be_uint64() {
|
||||
nassertr(_datagram != (const Datagram *)NULL, 0.0);
|
||||
nassertr(_current_index < _datagram->get_length(), 0.0);
|
||||
nassertr(_datagram != (const Datagram *)NULL, 0);
|
||||
nassertr(_current_index < _datagram->get_length(), 0);
|
||||
|
||||
PN_uint64 tempvar;
|
||||
// Avoid reading junk data off the end of the datagram:
|
||||
|
Loading…
x
Reference in New Issue
Block a user