Check-in [ca00774c8f]
Overview
Comment:Updated to cast thread ID to an appropriately sized integer type before casting it to (unsigned long long) for logging, prevents a GCC error when pthread_t is a pointer of a different (smaller) size than unsigned long long
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:ca00774c8f49fa5a71c2f2f9f70847fb26993f4f
User & Date: rkeene on 2016-02-22 22:57:45
Other Links: manifest | tags
Context
2016-02-22
23:25
Updated man page version to be in-sync with the rest of the source check-in: 8f1b3e35fb user: rkeene tags: trunk
22:57
Updated to cast thread ID to an appropriately sized integer type before casting it to (unsigned long long) for logging, prevents a GCC error when pthread_t is a pointer of a different (smaller) size than unsigned long long check-in: ca00774c8f user: rkeene tags: trunk
22:35
Post-release version increment check-in: 38ad23a62e user: rkeene tags: trunk
Changes

Modified filed.c from [4ce4e74ea7] to [ce75275d14].

486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
						(unsigned long long) curr->file_length,
						(unsigned long long) curr->sent_length
					);

					break;
			}
			fprintf(fp, " THREAD=%llu TIME=%llu\n",
				(unsigned long long) curr->thread,
				(unsigned long long) now
			);
			fflush(fp);

			prev = curr;
			curr = curr->_prev;








|







486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
						(unsigned long long) curr->file_length,
						(unsigned long long) curr->sent_length
					);

					break;
			}
			fprintf(fp, " THREAD=%llu TIME=%llu\n",
				(unsigned long long) ((intptr_t) curr->thread),
				(unsigned long long) now
			);
			fflush(fp);

			prev = curr;
			curr = curr->_prev;