chiark / gitweb /
gcc: make a couple of gcc warnings go away
[elogind.git] / job.c
diff --git a/job.c b/job.c
index be42eaff62f5ed9fcbad31131833bf1aa0b3cc04..e2354af3fc1a2305c5ebcdeb41ab56c0c1682675 100644 (file)
--- a/job.c
+++ b/job.c
@@ -410,7 +410,7 @@ int job_run_and_invalidate(Job *j) {
 int job_finish_and_invalidate(Job *j, bool success) {
         Unit *u;
         Unit *other;
-        UnitType t;
+        JobType t;
         Iterator i;
 
         assert(j);