VirtualBox

Ignore:
Timestamp:
Jun 15, 2016 10:10:57 AM (9 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/json.cpp

    r61707 r61708  
    134134 * @param   pcbRead         Where to store the amount of data read on succcess.
    135135 */
    136 typedef DECLCALLBACK(int) FNRTJSONTOKENIZERREAD(void *pvUser, uint32_t offInput, void *pvBuf, size_t cbBuf,
     136typedef DECLCALLBACK(int) FNRTJSONTOKENIZERREAD(void *pvUser, size_t offInput, void *pvBuf, size_t cbBuf,
    137137                                                size_t *pcbRead);
    138138/** Pointer to a tokenizer read buffer callback. */
     
    153153    size_t                  cbBuf;
    154154    /* Current offset into the input buffer. */
    155     uint32_t                offBuf;
     155    size_t                  offBuf;
    156156    /** Input cache buffer. */
    157157    char                    achBuf[512];
     
    288288 * @param   cchSkip         The amount of characters to skip.
    289289 */
    290 static int rtJsonTokenizerSkip(PRTJSONTOKENIZER pTokenizer, unsigned cchSkip)
     290static int rtJsonTokenizerSkip(PRTJSONTOKENIZER pTokenizer, size_t cchSkip)
    291291{
    292292    int rc = VINF_SUCCESS;
     
    10011001 * Read callback for RTJsonParseFromBuf().
    10021002 */
    1003 static DECLCALLBACK(int) rtJsonTokenizerParseFromBuf(void *pvUser, uint32_t offInput,
     1003static DECLCALLBACK(int) rtJsonTokenizerParseFromBuf(void *pvUser, size_t offInput,
    10041004                                                     void *pvBuf, size_t cbBuf,
    10051005                                                     size_t *pcbRead)
     
    10191019 * Read callback for RTJsonParseFromString().
    10201020 */
    1021 static DECLCALLBACK(int) rtJsonTokenizerParseFromString(void *pvUser, uint32_t offInput,
     1021static DECLCALLBACK(int) rtJsonTokenizerParseFromString(void *pvUser, size_t offInput,
    10221022                                                        void *pvBuf, size_t cbBuf,
    10231023                                                        size_t *pcbRead)
     
    10381038 * Read callback for RTJsonParseFromFile().
    10391039 */
    1040 static DECLCALLBACK(int) rtJsonTokenizerParseFromFile(void *pvUser, uint32_t offInput,
     1040static DECLCALLBACK(int) rtJsonTokenizerParseFromFile(void *pvUser, size_t offInput,
    10411041                                                      void *pvBuf, size_t cbBuf,
    10421042                                                      size_t *pcbRead)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette