From b7ba642efa9ccf43e7d7afc170b616eee1814c3d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 30 Oct 2011 21:20:37 +0100 Subject: [PATCH] Don't force a fixed integer size --- src/mmg/jobs.h | 8 ++++---- src/mmg/mmg_dialog.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mmg/jobs.h b/src/mmg/jobs.h index 5c64bfabe..0bd7f8861 100644 --- a/src/mmg/jobs.h +++ b/src/mmg/jobs.h @@ -41,12 +41,12 @@ enum job_status_e { JOBS_FAILED }; -typedef struct { - int32_t id; +struct job_t { + int id; job_status_e status; - int32_t added_on, started_on, finished_on; + int added_on, started_on, finished_on; wxString *description, *log; -} job_t; +}; extern std::vector jobs; diff --git a/src/mmg/mmg_dialog.h b/src/mmg/mmg_dialog.h index 236527f7b..aaa4e0fe1 100644 --- a/src/mmg/mmg_dialog.h +++ b/src/mmg/mmg_dialog.h @@ -125,7 +125,7 @@ public: wxButton *b_start_muxing, *b_copy_to_clipboard, *b_add_to_jobqueue; - int32_t last_job_id; + int last_job_id; bool muxing_in_progress;