ObjFW  Check-in [50a345a4f5]

Overview
Comment:utils/ofhttp: Fix signedness mismatch
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 50a345a4f529f06c7269521e34a1c189a93f38621863d1f9b6142ad6072dc79d
User & Date: js on 2022-11-13 18:46:15
Other Links: manifest | tags
Context
2022-11-13
19:07
Add OFApplicationDidFinishLaunchingNotification check-in: 204b27318f user: js tags: trunk
18:46
utils/ofhttp: Fix signedness mismatch check-in: 50a345a4f5 user: js tags: trunk
11:58
OFLog: Use ? instead of (nil) for nil programName check-in: 8fbbf1dbea user: js tags: trunk
Changes

Modified utils/ofhttp/OFHTTP.m from [36f1e9db6a] to [f34323cefa].

1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
			OFString *range;

			if (size > ULLONG_MAX)
				@throw [OFOutOfRangeException exception];

			_resumedFrom = (unsigned long long)size;

			range = [OFString stringWithFormat: @"bytes=%jd-",
							    _resumedFrom];
			[clientHeaders setObject: range forKey: @"Range"];
		} @catch (OFGetItemAttributesFailedException *e) {
		}
	}

	if (!_quiet) {







|







1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
			OFString *range;

			if (size > ULLONG_MAX)
				@throw [OFOutOfRangeException exception];

			_resumedFrom = (unsigned long long)size;

			range = [OFString stringWithFormat: @"bytes=%ju-",
							    _resumedFrom];
			[clientHeaders setObject: range forKey: @"Range"];
		} @catch (OFGetItemAttributesFailedException *e) {
		}
	}

	if (!_quiet) {