summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.cxx1
m---------librtclient0
-rw-r--r--ticket.cxx5
-rw-r--r--user.cxx1
4 files changed, 5 insertions, 2 deletions
diff --git a/client.cxx b/client.cxx
index 340ff5e..e093e43 100644
--- a/client.cxx
+++ b/client.cxx
@@ -1,5 +1,6 @@
#include <QStringBuilder>
#include <rtclient/client.h>
+#include <rtclient/ticket.h>
#include "qrtclient/client.hxx"
namespace RTClient {
diff --git a/librtclient b/librtclient
-Subproject c6d5739028f2337bd0418084a319705bd5b8984
+Subproject 0898723a7387f8e5d3086dd9511d88561ccc259
diff --git a/ticket.cxx b/ticket.cxx
index 461e554..026a23d 100644
--- a/ticket.cxx
+++ b/ticket.cxx
@@ -1,4 +1,5 @@
-#include <rtclient/client.h>
+#include <cstddef>
+#include <rtclient/ticket.h>
#include "qrtclient/ticket.hxx"
namespace RTClient {
@@ -41,7 +42,7 @@ namespace RTClient {
void TicketList::update(rtclient_ticketlist* ticketList)
{
- for (unsigned int i = 0; i < ticketList->length; i++)
+ for (size_t i = 0; i < ticketList->length; i++)
addTicket(Ticket{ticketList->tickets[i]});
rtclient_ticket_freelist(ticketList);
emit updated();
diff --git a/user.cxx b/user.cxx
index c9984cb..ee2d2d0 100644
--- a/user.cxx
+++ b/user.cxx
@@ -1,3 +1,4 @@
+#include <cstddef>
#include <rtclient/client.h>
#include "qrtclient/user.hxx"