Skip to content

Commit bfd9eba

Browse files
kovdb75Maxim Orlov
authored andcommitted
[PGPRO-6780] Fix Windows warnings
1 parent 51c6af4 commit bfd9eba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/rum.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -868,9 +868,9 @@ extern Datum rum_anyarray_distance(PG_FUNCTION_ARGS);
868868

869869

870870
/* GUC parameters */
871-
extern PGDLLIMPORT int RumFuzzySearchLimit;
872-
extern PGDLLIMPORT float8 RumArraySimilarityThreshold;
873-
extern PGDLLIMPORT int RumArraySimilarityFunction;
871+
extern int RumFuzzySearchLimit;
872+
extern float8 RumArraySimilarityThreshold;
873+
extern int RumArraySimilarityFunction;
874874

875875

876876
/*

src/rum_ts_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ typedef struct
172172
DocRepresentation *end;
173173
} Extention;
174174

175-
static float weights[] = {1.0/0.1f, 1.0/0.2f, 1.0/0.4f, 1.0/1.0f};
175+
static float weights[] = {1.0f/0.1f, 1.0f/0.2f, 1.0f/0.4f, 1.0f/1.0f};
176176

177177
/* A dummy WordEntryPos array to use when haspos is false */
178178
static WordEntryPosVector POSNULL = {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy