mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 23:09:11 +02:00
couple more type squishes
This commit is contained in:
parent
430f255730
commit
38a33e0283
2 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ int VoxelSystem::parseData(unsigned char* sourceBuffer, int numBytes) {
|
|||
|
||||
unsigned char command = *sourceBuffer;
|
||||
int numBytesPacketHeader = numBytesForPacketHeader(sourceBuffer);
|
||||
unsigned char *voxelData = sourceBuffer + numBytesPacketHeader;
|
||||
unsigned char* voxelData = sourceBuffer + numBytesPacketHeader;
|
||||
|
||||
pthread_mutex_lock(&_treeLock);
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ void AudioInjector::injectAudio(UDPSocket* injectorSocket, sockaddr* destination
|
|||
|
||||
unsigned char dataPacket[(BUFFER_LENGTH_SAMPLES_PER_CHANNEL * sizeof(int16_t)) + leadingBytes];
|
||||
|
||||
unsigned char *currentPacketPtr = dataPacket + populateTypeAndVersion(dataPacket, PACKET_TYPE_INJECT_AUDIO);
|
||||
unsigned char* currentPacketPtr = dataPacket + populateTypeAndVersion(dataPacket, PACKET_TYPE_INJECT_AUDIO);
|
||||
|
||||
// copy the identifier for this injector
|
||||
memcpy(currentPacketPtr, &_streamIdentifier, sizeof(_streamIdentifier));
|
||||
|
|
Loading…
Reference in a new issue