Norman Feske
03047009b1
base: avoid implicit conversions
...
This patch is a prerequisite for compiling the code with
the warnings -Wconversion enabled.
Issue #23
2021-12-17 15:04:44 +01:00
Norman Feske
10c567daee
base: add 'aligned' function to util/misc_math.h
...
This function simplifies the sanity checking of values that are expected
to be aligned, e.g., data offsets within packet streams.
2019-05-03 13:31:39 +02:00
Norman Feske
29b8d609c9
Adjust file headers to refer to the AGPLv3
2017-02-28 12:59:29 +01:00
Stefan Kalkowski
7c8281f2d6
util: turn max, min, and abs into const_expr
...
Ref #2092
2017-02-07 19:20:29 +01:00
Stefan Kalkowski
dc36b63acb
base: turn align_addr tool into constexpr
...
Thereby, the tool can be used to calculate static compile-time values.
Ref #1588
2015-07-01 14:46:17 +02:00
Norman Feske
ca971bbfd8
Move repositories to 'repos/' subdirectory
...
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.
Issue #1082
2014-05-14 16:08:00 +02:00