summaryrefslogtreecommitdiffstats
path: root/k9vamps/k9vamps.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-05-04 22:57:39 -0500
committerTimothy Pearson <[email protected]>2012-05-04 22:57:39 -0500
commita016df82c8970a2aaccbf3b061e102af3a3f04ab (patch)
tree8a5275d445116e6183f59fd84ca6adb350b9b20d /k9vamps/k9vamps.cpp
parentca864edeed0fe99b91c63616d4ec6d31ecdee217 (diff)
downloadk9copy-a016df82c8970a2aaccbf3b061e102af3a3f04ab.tar.gz
k9copy-a016df82c8970a2aaccbf3b061e102af3a3f04ab.zip
Fix format string error
Diffstat (limited to 'k9vamps/k9vamps.cpp')
-rwxr-xr-xk9vamps/k9vamps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/k9vamps/k9vamps.cpp b/k9vamps/k9vamps.cpp
index d7bd43d..ebf4164 100755
--- a/k9vamps/k9vamps.cpp
+++ b/k9vamps/k9vamps.cpp
@@ -399,7 +399,7 @@ int k9vamps::check_video_packet (uchar *ptr) {
pad_packet_start_code |= (uint32_t) (ptr [3]);
if (pad_packet_start_code != 0x000001be)
- tqDebug (TQString("Bad padding packet start code at %1: %2").arg(rtell (ptr + vid_packet_length)).arg(pad_packet_start_code));
+ tqDebug ("%s", (TQString("Bad padding packet start code at %1: %2").arg(rtell (ptr + vid_packet_length)).arg(pad_packet_start_code)).ascii());
else {
pad_packet_length = ptr [4] << 8;
pad_packet_length |= ptr [5];
@@ -409,7 +409,7 @@ int k9vamps::check_video_packet (uchar *ptr) {
// length of video packet plus padding packet must always match sector size
if (14 + vid_packet_length + pad_packet_length != SECT_SIZE)
- tqDebug (TQString("Bad video packet length at %1: %2").arg(rtell (ptr)).arg(vid_packet_length));
+ tqDebug ("%s", (TQString("Bad video packet length at %1: %2").arg(rtell (ptr)).arg(vid_packet_length)).ascii());
return rc;
}