We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb000f commit 48d0db9Copy full SHA for 48d0db9
src/backend/utils/adt/cash.c
@@ -9,7 +9,7 @@
9
* workings can be found in the book "Software Solutions in C" by
10
* Dale Schumacher, Academic Press, ISBN: 0-12-632360-7.
11
*
12
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.12 1997/09/08 21:48:13 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.13 1997/09/13 04:39:08 momjian Exp $
13
*/
14
15
#include <stdio.h>
@@ -165,8 +165,9 @@ cash_in(const char *str)
165
* positive-valued amounts. - tgl 97/04/14
166
167
const char *
168
-cash_out(Cash *value)
+cash_out(Cash *in_value)
169
{
170
+ Cash value = *in_value;
171
char *result;
172
char buf[CASH_BUFSZ];
173
int minus = 0;
0 commit comments