projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cb658a
)
Fix inconsistent variable name in static function of mac8.c
author
Michael Paquier
<michael@paquier.xyz>
Mon, 25 Nov 2019 00:57:35 +0000
(09:57 +0900)
committer
Michael Paquier
<michael@paquier.xyz>
Mon, 25 Nov 2019 00:57:35 +0000
(09:57 +0900)
Both argument names were reversed in the declaration of the function.
Author: Ranier Vilela
Discussion: https://postgr.es/m/MN2PR18MB292755AEFF9A9144B220ABEEE34B0@MN2PR18MB2927.namprd18.prod.outlook.com
src/backend/utils/adt/mac8.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/mac8.c
b/src/backend/utils/adt/mac8.c
index 0b1fe4978ea809bce38640de1cb13c0622f34cd8..46dec46c62e6acba78c5a458ca65477a7c6e535b 100644
(file)
--- a/
src/backend/utils/adt/mac8.c
+++ b/
src/backend/utils/adt/mac8.c
@@
-35,7
+35,7
@@
#define lobits(addr) \
((unsigned long)(((addr)->e<<24) | ((addr)->f<<16) | ((addr)->g<<8) | ((addr)->h)))
-static unsigned char hex2_to_uchar(const unsigned char *
str, const unsigned char *p
tr);
+static unsigned char hex2_to_uchar(const unsigned char *
ptr, const unsigned char *s
tr);
static const signed char hexlookup[128] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,