diff options
author | Francois Andriot <[email protected]> | 2013-08-01 14:54:25 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-08-01 14:54:25 +0200 |
commit | e22d244e1766aa4fd41bf54625f22421d04f5571 (patch) | |
tree | 56a914e085dbf2f8d79bb6ee8757af4015e4a777 /src/barcode | |
parent | 179e02f26f6f958d1e7d7473583f51e22b92e524 (diff) | |
download | tellico-e22d244e1766aa4fd41bf54625f22421d04f5571.tar.gz tellico-e22d244e1766aa4fd41bf54625f22421d04f5571.zip |
Fix 'format not a string literal' error
Diffstat (limited to 'src/barcode')
-rw-r--r-- | src/barcode/barcode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/barcode/barcode.cpp b/src/barcode/barcode.cpp index 648f1a1..5eb229c 100644 --- a/src/barcode/barcode.cpp +++ b/src/barcode/barcode.cpp @@ -172,14 +172,14 @@ void barcodeRecognitionThread::printArray( int array[10][13][2], int level ) for (int i = 0; i < 10; i++) { TQCString temp; temp.setNum( i ); - fprintf( stderr, temp + " : " ); + fprintf( stderr, "%s : ", *(temp) ); for (int j = 0; j < 13; j++) { if (array[i][j][level] == -1) fprintf( stderr, "x " ); else { TQCString temp; temp.setNum( array[i][j][level] ); - fprintf( stderr, temp + " " ); + fprintf( stderr, "%s ", *(temp) ); } } fprintf( stderr, "\n" ); |