2025-04-26 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up compiler warnings in 'rdlibrary/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2025-04-26 17:14:50 -04:00
parent c8ea4e8c86
commit 9edba5a9f0
4 changed files with 11 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
//
// List RDLibrary Reports
//
// (C) Copyright 2002-2024 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2025 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -651,7 +651,7 @@ void ListReports::GenerateCartDumpCsv(QString *report,bool prepend_names)
*report+=RDCsvField(q->value(30).toInt());
}
sql=QString("select `SCHED_CODE` from `CART_SCHED_CODES` where ")+
QString().sprintf("`CART_NUMBER`=%u",q->value(0).toUInt());
QString::asprintf("`CART_NUMBER`=%u",q->value(0).toUInt());
QString schedcodes="";
q1=new RDSqlQuery(sql);
while(q1->next()) {