Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit78cbd49

Browse files
author
Michael Meskes
committed
Mixing long and int entries of a union only works on some architectures.
1 parent244f649 commit78cbd49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/interfaces/ecpg/pgtypeslib/dt_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/dt_common.c,v 1.46 2009/02/04 08:51:09 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/dt_common.c,v 1.47 2009/02/05 08:28:47 meskes Exp $ */
22

33
#include"postgres_fe.h"
44

@@ -2550,7 +2550,7 @@ pgtypes_defmt_scan(union un_fmt_comb * scan_val, int scan_type, char **pstr, cha
25502550
while (**pstr==' ')
25512551
(*pstr)++;
25522552
errno=0;
2553-
scan_val->uint_val= (unsigned longint)strtol(*pstr,&strtol_end,10);
2553+
scan_val->luint_val= (unsigned longint)strtol(*pstr,&strtol_end,10);
25542554
if (errno)
25552555
err=1;
25562556
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp