This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
REVIEWED: External libraries `sdefl` and `sinfl` to address
#5367
pull/5320/merge
Ray
3 days ago
parent
6a048b7afe
commit
a568506265
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/external/sdefl.h
+1
-1
src/external/sinfl.h
+ 1
- 1
src/external/sdefl.h
View File
@ -198,7 +198,7 @@ extern int zsdeflate(struct sdefl *s, void *o, const void *i, int n, int lvl);
static
int
sdefl_ilog2
(
int
n
)
{
if
(
!
n
)
return
0
;
#
if
def _MSC_VER
#
if
defined(_MSC_VER) && !defined(__llvm__) && !defined(__INTEL_COMPILER)
/
/
@raysan5, address PR #5367
unsigned
long
msbp
=
0
;
_BitScanReverse
(
&
msbp
,
(
unsigned
long
)
n
)
;
return
(
int
)
msbp
;
+ 1
- 1
src/external/sinfl.h
View File
@ -171,7 +171,7 @@ extern int zsinflate(void *out, int cap, const void *in, int size);
static
int
sinfl_bsr
(
unsigned
n
)
{
#
if
def _MSC_VER
#
if
defined(_MSC_VER) && !defined(__llvm__) && !defined(__INTEL_COMPILER)
/
/
@raysan5, address PR #5367
unsigned
long
uln
=
0
;
_BitScanReverse
(
&
uln
,
n
)
;
return
(
int
)
(
uln
)
;
Write
Preview
Loading…
Cancel
Save