Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: add explicit casts to byteorder macros
Some consumers of lib.h are in C++ and therefore they try to compile byteorder.h as C++ code. C++ compilers don't like the implicit void * -> struct anything * conversion, so we squelch those by adding explicit casts.
- Loading branch information
Josef 'Jeff' Sipek
committed
Aug 1, 2017
1 parent
a6fdcbc
commit 0a12799
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters