From: Marcus Comstedt Date: Sun, 29 Jun 2014 12:09:03 +0000 (+0200) Subject: Fix compilation on 32-bit systems X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=e40b2f294066331dc04598f4b0dccac2bab7c295;hp=e40b2f294066331dc04598f4b0dccac2bab7c295;p=pulseview.git Fix compilation on 32-bit systems storesession.h was declaring fields as std::atomic, a type not avaiable on 32-bit systems. However, the values stored in these fields were only used as input to QProgressDialog, which takes int, not uint64_t. So the fields could just as well be std::atomic. Also, added code to scale the progress values down if they would not fit in an int. (This would have been needed even if the fields were to remain as uint64_t.) ---