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:
26c0830
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:03:27 +0000
(
00:03
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:03:27 +0000
(
00:03
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index 96aa933ebf1d3e2c596d6a4fc2d57dd9d0ac866d..404129ffa7e99ff6d1356cf9011acb16993088ed 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-1,7
+1,8
@@
#include <stdio.h>
typedef unsigned char u8;
int g(int i, u8 x, u8 t, u8 o) {
- return ((3 & x & (i * ((3 & i >> 16 ? "BY}6YB6%" : "Qj}6jQ6%")[t % 8] + 51) >> o)));
+ u8 xxx = (3 & i >> 16 ? "BY}6YB6%" : "Qj}6jQ6%")[t % 8];
+ return ((3 & x & (i * (xxx + 51) >> o)));
};
int main(void) {