Fossil SCM

fixed type of JsonPageDef::runMode from char to int because it uses negative values and char is unsigned by ARM platforms.

stephan 2016-01-29 07:00 trunk
Commit 8f6b78e7b20a9f64fb6d2488c809786cb4b7fb8a
1 file changed +1 -1
--- src/json_detail.h
+++ src/json_detail.h
@@ -184,11 +184,11 @@
184184
**
185185
** Now that we can simulate POST in CLI mode, the distinction
186186
** between them has disappeared in most (or all) cases, so 0 is
187187
** the standard value.
188188
*/
189
- char runMode;
189
+ int runMode;
190190
} JsonPageDef;
191191
192192
/*
193193
** Holds common keys used for various JSON API properties.
194194
*/
195195
--- src/json_detail.h
+++ src/json_detail.h
@@ -184,11 +184,11 @@
184 **
185 ** Now that we can simulate POST in CLI mode, the distinction
186 ** between them has disappeared in most (or all) cases, so 0 is
187 ** the standard value.
188 */
189 char runMode;
190 } JsonPageDef;
191
192 /*
193 ** Holds common keys used for various JSON API properties.
194 */
195
--- src/json_detail.h
+++ src/json_detail.h
@@ -184,11 +184,11 @@
184 **
185 ** Now that we can simulate POST in CLI mode, the distinction
186 ** between them has disappeared in most (or all) cases, so 0 is
187 ** the standard value.
188 */
189 int runMode;
190 } JsonPageDef;
191
192 /*
193 ** Holds common keys used for various JSON API properties.
194 */
195

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button