new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / cdb / uint32_pack.c
index fd2641e..2645ac1 100644 (file)
@@ -1,11 +1,16 @@
+/* adopted from libowfat 0.9 (GPL) */
+
 #define NO_UINT32_MACROS
 #include "uint32.h"
 
-/* adopted from libowfat 0.9 (GPL) */
 
-void uint32_pack(char *out,uint32 in) {
-  *out=in&0xff; in>>=8;
-  *++out=in&0xff; in>>=8;
-  *++out=in&0xff; in>>=8;
-  *++out=in&0xff;
+void uint32_pack(char *out, uint32 in)
+{
+    *out = in & 0xff;
+    in >>= 8;
+    *++out = in & 0xff;
+    in >>= 8;
+    *++out = in & 0xff;
+    in >>= 8;
+    *++out = in & 0xff;
 }