[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[1701] 2008-07-13 Pavel Roskin <address@hidden>
From: |
Pavel Roskin |
Subject: |
[1701] 2008-07-13 Pavel Roskin <address@hidden> |
Date: |
Sun, 13 Jul 2008 17:46:26 +0000 |
Revision: 1701
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1701
Author: proski
Date: 2008-07-13 17:46:25 +0000 (Sun, 13 Jul 2008)
Log Message:
-----------
2008-07-13 Pavel Roskin <address@hidden>
* lib/LzmaEnc.c (LzmaEnc_SetProps): Fix warning about comparison
between signed and unsigned.
(LzmaEnc_Finish): Fix warning about an unused parameter.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/lib/LzmaEnc.c
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2008-07-13 01:55:15 UTC (rev 1700)
+++ trunk/grub2/ChangeLog 2008-07-13 17:46:25 UTC (rev 1701)
@@ -1,3 +1,9 @@
+2008-07-13 Pavel Roskin <address@hidden>
+
+ * lib/LzmaEnc.c (LzmaEnc_SetProps): Fix warning about comparison
+ between signed and unsigned.
+ (LzmaEnc_Finish): Fix warning about an unused parameter.
+
2008-07-13 Bean <address@hidden>
* Makefile.in (enable_lzo): New rule.
Modified: trunk/grub2/lib/LzmaEnc.c
===================================================================
--- trunk/grub2/lib/LzmaEnc.c 2008-07-13 01:55:15 UTC (rev 1700)
+++ trunk/grub2/lib/LzmaEnc.c 2008-07-13 17:46:25 UTC (rev 1701)
@@ -431,7 +431,7 @@
LzmaEncProps_Normalize(&props);
if (props.lc > LZMA_LC_MAX || props.lp > LZMA_LP_MAX || props.pb >
LZMA_PB_MAX ||
- props.dictSize > (1 << kDicLogSizeMaxCompress) || props.dictSize > (1 <<
30))
+ props.dictSize > (1U << kDicLogSizeMaxCompress) || props.dictSize > (1
<< 30))
return SZ_ERROR_PARAM;
p->dictSize = props.dictSize;
p->matchFinderCycles = props.mc;
@@ -2170,6 +2170,8 @@
CLzmaEnc *p = (CLzmaEnc *)pp;
if (p->mtMode)
MatchFinderMt_ReleaseStream(&p->matchFinderMt);
+ #else
+ (void)pp;
#endif
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [1701] 2008-07-13 Pavel Roskin <address@hidden>,
Pavel Roskin <=