Skip to content

Commit

Permalink
Fix another potential issue on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
knro committed Aug 2, 2023
1 parent 23afb5a commit 0e45ab2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/indicore/indidevapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#include <Windows.h>
#endif

#define MAXRBUF 2048

/** \section IUSave */

void IUSaveConfigNumber(FILE *fp, const INumberVectorProperty *nvp)
Expand Down Expand Up @@ -60,7 +62,6 @@ int IUSaveBLOB(IBLOB *bp, int size, int blobsize, char *blob, char *format)
* N.B. Must be freed by the caller */
XMLEle *configRootFP(const char *device)
{
static const int MAXRBUF = 2048;
char configFileName[MAXRBUF];
char configDir[MAXRBUF];
char errmsg[MAXRBUF];
Expand Down

0 comments on commit 0e45ab2

Please sign in to comment.