Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 52065cf

Browse files
committed
Clean up trivial compiler warning from gcc.
1 parent d1a391c commit 52065cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pl/plpgsql/src/pl_exec.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* procedural language
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.4 1998/10/04 15:38:57 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.5 1999/01/17 21:53:32 tgl Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -1243,9 +1243,9 @@ exec_stmt_fori(PLpgSQL_execstate * estate, PLpgSQL_stmt_fori * stmt)
12431243
* ----------
12441244
*/
12451245
if (stmt->reverse)
1246-
(int4)var->value--;
1246+
var->value--;
12471247
else
1248-
(int4)var->value++;
1248+
var->value++;
12491249
}
12501250

12511251
return PLPGSQL_RC_OK;

0 commit comments

Comments
 (0)