summaryrefslogtreecommitdiffstats
path: root/examples/gpu-printing/gpu-printing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gpu-printing/gpu-printing.cpp')
-rw-r--r--examples/gpu-printing/gpu-printing.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/gpu-printing/gpu-printing.cpp b/examples/gpu-printing/gpu-printing.cpp
index ff35fd0b3..7503c8e03 100644
--- a/examples/gpu-printing/gpu-printing.cpp
+++ b/examples/gpu-printing/gpu-printing.cpp
@@ -219,7 +219,7 @@ void GPUPrinting::processGPUPrintCommands(const void* data, size_t dataSize)
// likely that the application code needs to be configured
// to pass in the right strings.
//
- fprintf(stderr, "error: string with unknown hash %d\n", hash);
+ fprintf(stderr, "error: string with unknown hash 0x%x\n", hash);
continue;
}
@@ -253,7 +253,7 @@ void GPUPrinting::processGPUPrintCommands(const void* data, size_t dataSize)
// likely that the application code needs to be configured
// to pass in the right strings.
//
- fprintf(stderr, "error: string with unknown hash %d\n", formatHash);
+ fprintf(stderr, "error: string with unknown hash 0x%x\n", formatHash);
continue;
}
std::string format = iter->second;
@@ -373,7 +373,7 @@ void GPUPrinting::processGPUPrintCommands(const void* data, size_t dataSize)
auto iter = m_hashedStrings.find(hash);
if(iter == m_hashedStrings.end())
{
- fprintf(stderr, "error: string with unknown hash %d\n", hash);
+ fprintf(stderr, "error: string with unknown hash 0x%x\n", hash);
continue;
}
printf("%s", iter->second.c_str());