Skip to content

Commit

Permalink
Another attempt to fix CRAN warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nacnudus committed Mar 26, 2018
1 parent 5fc626e commit 0e70cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/date.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ inline std::string formatDate(double& date, int& dateSystem, int& dateOffset) {

// From @reviewher https://github.com/tidyverse/readxl/issues/388
#define CASEI(c) case c: case (c | 0x20)
#define CMPLC(j,n) if(x[i+j] | 0x20 == n)
#define CMPLC(j,n) if(x[i+j] | (0x20 == n))
inline bool isDateFormat(std::string x) {
char escaped = 0;
char bracket = 0;
Expand Down

0 comments on commit 0e70cb4

Please sign in to comment.