git://git.gir.st
/
Chiptunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da32ed6
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:08:33 +0000
(
00:08
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:08:33 +0000
(
00:08
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index b45639d7165a024cd741027e4e9b677f0cce6cd5..030c8d41c73f26bfb36e8c6e12745802e23bb518 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-5,7
+5,8
@@
typedef unsigned char u8;
int g(int i, u8 x, u8 t, u8 o) {
u8 xxx = (3 & i >> 16 ? "BY}6YB6%" : "Qj}6jQ6%")[t % 8];
SUBI (xxx, -51)
- return ((3 & x & (i * (xxx) >> o)));
+ xxx = (i*xxx) >> o;
+ return ((3 & x & xxx));
};
int main(void) {