fix comment style
authorYann Collet <cyan@fb.com>
Wed, 21 Mar 2018 14:07:24 +0000 (07:07 -0700)
committerYann Collet <cyan@fb.com>
Wed, 21 Mar 2018 14:07:24 +0000 (07:07 -0700)
lib/lz4.c
lib/lz4frame.c

index 37782f5..0fdbe5e 100644 (file)
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -1722,7 +1722,7 @@ void* LZ4_create (char* inputBuffer)
 
 char* LZ4_slideInputBuffer (void* state)
 {
-    // avoid const char * -> char * conversion warning
+    /* avoid const char * -> char * conversion warning */
     return (char *)(uptrval)((LZ4_stream_t*)state)->internal_donotuse.dictionary;
 }
 
index b91cb7c..a080fa6 100644 (file)
@@ -202,8 +202,8 @@ typedef struct LZ4F_cctx_s
     U64    totalInSize;
     XXH32_state_t xxh;
     void*  lz4CtxPtr;
-    U16    lz4CtxAlloc; // sized for: 0 = none, 1 = lz4 ctx, 2 = lz4hc ctx
-    U16    lz4CtxState; // in use as: 0 = none, 1 = lz4 ctx, 2 = lz4hc ctx
+    U16    lz4CtxAlloc; /* sized for: 0 = none, 1 = lz4 ctx, 2 = lz4hc ctx */
+    U16    lz4CtxState; /* in use as: 0 = none, 1 = lz4 ctx, 2 = lz4hc ctx */
 } LZ4F_cctx_t;