History

use unsigned int vs size_t, since that just seems more correct

ZappoMan committed 12 years ago

Commit bd6b70e1 parent 7d7e1ff5 files · +17 −17Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 5 files). Show all

Unified · Split

interface/src/VoxelSystem.cpp+2−2
@@ -550,7 +550,7 @@ int VoxelSystem::parseData(const QByteArray& packet) { · 549 unmodified lines
550550 int flightTime = arrivedAt - sentAt;
551551
552552 OCTREE_PACKET_INTERNAL_SECTION_SIZE sectionLength = 0;
553− size_t dataBytes = packet.size() - (numBytesPacketHeader + OCTREE_PACKET_EXTRA_HEADERS_SIZE);
553+ unsigned int dataBytes = packet.size() - (numBytesPacketHeader + OCTREE_PACKET_EXTRA_HEADERS_SIZE);
554554
555555 int subsection = 1;
556556 while (dataBytes > 0) {
@@ -576,7 +576,7 @@ int VoxelSystem::parseData(const QByteArray& packet) { · 19 unmodified lines
576576 packetData.loadFinalizedContent(dataAt, sectionLength);
577577 if (Application::getInstance()->getLogger()->extraDebugging()) {
578578 qDebug("VoxelSystem::parseData() ... Got Packet Section"
579− " color:%s compressed:%s sequence: %u flight:%d usec size:%d data:%lu"
579+ " color:%s compressed:%s sequence: %u flight:%d usec size:%d data:%u"
580580 " subsection:%d sectionLength:%d uncompressed:%d",
581581 debug::valueOf(packetIsColored), debug::valueOf(packetIsCompressed),
582582 sequence, flightTime, packet.size(), dataBytes, subsection, sectionLength,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t