summaryrefslogtreecommitdiffstats
path: root/src/FrameMultiplexer.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-27 16:29:38 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-27 16:29:38 +0200
commit4fe6a33685ce9cc0be44319fca5ce30e05bfb090 (patch)
treec11d2171eeb0a11fdeec87770baa47fbeb6452b5 /src/FrameMultiplexer.cpp
parentc3f5387d9d8d3fd36e8bcf562c1ad4cc99e38a91 (diff)
downloaddabmod-4fe6a33685ce9cc0be44319fca5ce30e05bfb090.tar.gz
dabmod-4fe6a33685ce9cc0be44319fca5ce30e05bfb090.tar.bz2
dabmod-4fe6a33685ce9cc0be44319fca5ce30e05bfb090.zip
Replace some unsigned types
Diffstat (limited to 'src/FrameMultiplexer.cpp')
-rw-r--r--src/FrameMultiplexer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FrameMultiplexer.cpp b/src/FrameMultiplexer.cpp
index ffae2ca..80d347e 100644
--- a/src/FrameMultiplexer.cpp
+++ b/src/FrameMultiplexer.cpp
@@ -60,17 +60,17 @@ int FrameMultiplexer::process(std::vector<Buffer*> dataIn, Buffer* dataOut)
#ifdef DEBUG
fprintf(stderr, "FrameMultiplexer::process(dataIn:");
- for (unsigned i = 0; i < dataIn.size(); ++i) {
+ for (size_t i = 0; i < dataIn.size(); ++i) {
fprintf(stderr, " %p", dataIn[i]);
}
fprintf(stderr, ", sizeIn:");
- for (unsigned i = 0; i < dataIn.size(); ++i) {
+ for (size_t i = 0; i < dataIn.size(); ++i) {
fprintf(stderr, " %zu", dataIn[i]->getLength());
}
fprintf(stderr, ", dataOut: %p, sizeOut: %zu)\n", dataOut, dataOut->getLength());
#endif
- unsigned char* out = reinterpret_cast<unsigned char*>(dataOut->getData());
+ uint8_t* out = reinterpret_cast<uint8_t*>(dataOut->getData());
std::vector<Buffer*>::const_iterator in = dataIn.begin();
// Write PRBS